(0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.999805241823196e-06], ["speedup_factor", 3.49988358556461], ["created_at", "2020-03-11 23:25:20.715524"], ["control_duration", 6.9998204708099365e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 6.9998204708099365e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.717004"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.718036"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2020-03-11 23:25:20.727960"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.728835"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.729610"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2020-03-11 23:25:20.736922"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.737788"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.738570"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2020-03-11 23:25:20.745909"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.746775"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.747543"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2020-03-11 23:25:20.761184"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.762034"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.762786"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.770079"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.771048"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.771851"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2020-03-11 23:25:20.778403"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.779213"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.779895"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2020-03-11 23:25:20.786442"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.787370"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.788046"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2020-03-11 23:25:20.794278"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.795036"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.795731"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.802162"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.802918"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.803593"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2020-03-11 23:25:20.809999"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.810723"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.811379"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2020-03-11 23:25:20.821682"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.822439"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.823107"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2020-03-11 23:25:20.829247"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.830141"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.830835"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.837625"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.838446"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.839132"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.845864"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.846674"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.847431"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.855358"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.856148"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.856829"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.863065"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.863790"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.864454"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.871024"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.871777"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.872683"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.883156"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.884022"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.884768"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:20.916266"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.917915"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.919524"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.8ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2020-03-11 23:25:20.959138"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.960872"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.970128"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2020-03-11 23:25:20.980620"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.982070"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.983504"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2020-03-11 23:25:20.993054"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.994061"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:20.994874"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9995495676994324e-06], ["created_at", "2020-03-11 23:25:21.002295"], ["control_duration", 1.9995495676994324e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.9995495676994324e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.003175"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.003978"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.011260"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.012130"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.012926"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.0], ["created_at", "2020-03-11 23:25:21.031198"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.032234"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.033105"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.000465766185375], ["created_at", "2020-03-11 23:25:21.042288"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.044318"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.045799"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2020-03-11 23:25:21.057676"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.058621"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.059438"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2020-03-11 23:25:21.067647"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.068698"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.069615"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2020-03-11 23:25:21.077328"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.078259"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.079074"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2020-03-11 23:25:21.095007"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.095955"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.096771"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2020-03-11 23:25:21.104097"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.104965"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.105730"]] SQL (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2020-03-11 23:25:21.117940"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.119985"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.121285"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2020-03-11 23:25:21.129594"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.130616"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.131499"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2020-03-11 23:25:21.139401"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.140346"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.141475"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2020-03-11 23:25:21.163739"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.164738"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.165565"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2020-03-11 23:25:21.191107"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.192404"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.193377"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2020-03-11 23:25:21.212524"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.213731"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.214700"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2020-03-11 23:25:21.243182"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.244432"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.245349"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.254272"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.256884"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.258924"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.000255674123764e-06], ["created_at", "2020-03-11 23:25:21.271053"], ["control_duration", 0.0], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.271947"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.272732"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.280212"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.281100"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.281898"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.9995647966861725e-06], ["speedup_factor", 4.998603351955308], ["created_at", "2020-03-11 23:25:21.292590"], ["control_duration", 4.999805241823196e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 4.999805241823196e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.294513"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.295961"]] SQL (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.307704"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.308641"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.309463"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.327997"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.328993"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- bar\n"], ["created_at", "2020-03-11 23:25:21.329839"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.600012183189392e-05], ["speedup_factor", -17.003726129483], ["created_at", "2020-03-11 23:25:21.342361"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.6999896615743637e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.343987"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.6999896615743637e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.345393"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2020-03-11 23:25:21.368762"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.369860"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.370743"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.381408"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.382387"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.383238"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.6ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.5ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.2000557035207748e-05], ["speedup_factor", -13.003260363297624], ["created_at", "2020-03-11 23:25:21.412628"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.3000331819057465e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2020-03-11 23:25:21.413954"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.3000331819057465e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.414874"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.400018274784088e-05], ["speedup_factor", -8.999379171193544], ["created_at", "2020-03-11 23:25:21.440519"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 2.7000438421964645e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.442212"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.7000438421964645e-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 '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.443348"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2020-03-11 23:25:21.461956"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.463948"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wobble\n"], ["created_at", "2020-03-11 23:25:21.465756"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.999595254659653e-06], ["speedup_factor", -4.99976717112922], ["created_at", "2020-03-11 23:25:21.475443"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999610483646393e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.476512"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999610483646393e-06], ["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 '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.477358"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2020-03-11 23:25:21.487053"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.7ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.490967"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2020-03-11 23:25:21.494000"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2020-03-11 23:25:21.506762"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.507846"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2020-03-11 23:25:21.508720"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2020-03-11 23:25:21.516324"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.517395"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2020-03-11 23:25:21.518331"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.3ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.5ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2020-03-11 23:25:21.535878"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.537166"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2020-03-11 23:25:21.538134"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2020-03-11 23:25:21.546195"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.547192"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2020-03-11 23:25:21.548026"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -3.300001844763756e-05], ["created_at", "2020-03-11 23:25:21.562333"], ["control_duration", 0.0], ["candidate_duration", 3.300001844763756e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.564718"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.300001844763756e-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 '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.566357"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.575792"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.577016"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2020-03-11 23:25:21.577857"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2020-03-11 23:25:21.605528"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2020-03-11 23:25:21.606667"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2020-03-11 23:25:21.607540"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2020-03-11 23:25:21.613046"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.614068"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.614912"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["created_at", "2020-03-11 23:25:21.617490"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.618417"]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2020-03-11 23:25:21.619661"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -5.9999991208314896e-05], ["speedup_factor", -30.99976717112922], ["created_at", "2020-03-11 23:25:21.630679"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 6.200000643730164e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.642008"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 6.200000643730164e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.642897"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2020-03-11 23:25:21.653488"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.8ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.657545"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.661275"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2020-03-11 23:25:21.666906"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.668139"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :florp\n"], ["created_at", "2020-03-11 23:25:21.669198"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.999835699796677e-06], ["speedup_factor", -9.997672253258845], ["created_at", "2020-03-11 23:25:21.673021"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.00000761449337e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.673928"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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 '\", \"/Users/sam/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/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/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2020-03-11 23:25:21.674694"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -3.9995647966861725e-06], ["speedup_factor", -4.998603351955308], ["created_at", "2020-03-11 23:25:21.694227"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 4.999805241823196e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2020-03-11 23:25:21.696550"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.999805241823196e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2020-03-11 23:25:21.698295"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["created_at", "2020-03-11 23:25:21.708417"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- CONTROL\n"], ["created_at", "2020-03-11 23:25:21.709457"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2020-03-11 23:25:21.710286"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2020-03-11 23:25:21.719219"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.7ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.722722"]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2020-03-11 23:25:21.726794"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (1.0ms) SELECT sqlite_version(*)  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.1ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) SELECT sqlite_version(*)  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.2ms) SELECT sqlite_version(*)  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.1ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) SELECT sqlite_version(*)  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.1ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) SELECT sqlite_version(*)  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.9ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-26 22:59:07.969831"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:07.971426"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wobble\n"], ["created_at", "2021-01-26 22:59:07.972328"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.5000347048044205e-05], ["speedup_factor", -16.003726129483], ["created_at", "2021-01-26 22:59:07.985198"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.600012183189392e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:07.986607"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.600012183189392e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:07.987455"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_results"."id" = ? LIMIT ? [["equivalent", 1], ["raised_error", 0], ["id", 1], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_results"."id" = ? LIMIT ? [["equivalent", 0], ["raised_error", 0], ["id", 1], ["LIMIT", 1]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? AND "lab_tech_results"."id" = ? LIMIT ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["id", 1], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? AND "lab_tech_results"."id" = ? LIMIT ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["id", 1], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? AND "lab_tech_results"."id" = ? LIMIT ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.00000761449337e-05], ["created_at", "2021-01-26 22:59:08.006857"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-05]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.008014"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:08.016934"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-26 22:59:08.026953"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.028245"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-26 22:59:08.029112"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.1000316590070724e-05], ["speedup_factor", -12.00279459711225], ["created_at", "2021-01-26 22:59:08.034649"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.200009137392044e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.035822"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.200009137392044e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:08.036976"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? AND "lab_tech_results"."id" = ? LIMIT ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.046578"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.047612"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-26 22:59:08.048581"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.057856"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.058887"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-26 22:59:08.059745"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-26 22:59:08.071961"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.073962"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-26 22:59:08.075084"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.5ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-26 22:59:08.090381"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.092596"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-26 22:59:08.093560"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-26 22:59:08.106945"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.109107"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-26 22:59:08.110718"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (1.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.2ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-26 22:59:08.160486"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-26 22:59:08.161776"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-01-26 22:59:08.162809"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-26 22:59:08.174400"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-26 22:59:08.176277"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-26 22:59:08.177146"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.6ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.188581"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-26 22:59:08.189796"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-26 22:59:08.190695"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-26 22:59:08.199428"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.200726"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.201806"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.204983"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.206563"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-26 22:59:08.208343"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -4.3999869376420975e-05], ["speedup_factor", -45.009781089892876], ["created_at", "2021-01-26 22:59:08.213351"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.499964416027069e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.214826"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 4.499964416027069e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:08.215641"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-26 22:59:08.229847"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.231192"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.232129"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-26 22:59:08.235177"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.236257"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-01-26 22:59:08.237061"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -8.000526577234268e-06], ["speedup_factor", -9.002328830926874], ["created_at", "2021-01-26 22:59:08.240390"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.000301361083984e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.241438"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000301361083984e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:08.242229"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]] TRANSACTION (0.5ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.256996"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.258295"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-26 22:59:08.259161"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.3000331819057465e-05], ["speedup_factor", -14.003260363297624], ["created_at", "2021-01-26 22:59:08.268302"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.400010660290718e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.269736"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.400010660290718e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:08.270813"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-26 22:59:08.296409"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.297849"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- bar\n"], ["created_at", "2021-01-26 22:59:08.298798"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-26 22:59:08.317962"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.320558"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.321715"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.5ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-26 22:59:08.329661"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.331051"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.332047"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.5ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-26 22:59:08.339550"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.340936"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.341909"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-26 22:59:08.351205"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.354740"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.357177"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-26 22:59:08.364163"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.365461"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.366274"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-26 22:59:08.373145"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.374685"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.375833"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-26 22:59:08.383099"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.384826"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.386326"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.5ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-26 22:59:08.394381"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.395880"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.396940"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-26 22:59:08.404420"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.406068"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.406978"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.416213"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.418906"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.421238"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-26 22:59:08.434442"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.436093"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.437437"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.800013706088066e-05], ["speedup_factor", -19.004191895668374], ["created_at", "2021-01-26 22:59:08.452903"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.8999911844730377e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-26 22:59:08.455429"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.8999911844730377e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-26 22:59:08.456789"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] TRANSACTION (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.5ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.180777"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.182060"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:02:26.183139"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0999850928783417e-05], ["created_at", "2021-01-27 00:02:26.192685"], ["control_duration", 0.0], ["candidate_duration", 1.0999850928783417e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.193615"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:257:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:257:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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 '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:26.194418"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000301361083984e-06], ["speedup_factor", -10.002328830926874], ["created_at", "2021-01-27 00:02:26.211508"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.00000761449337e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.212535"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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 '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:26.213370"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:02:26.222863"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.224119"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:02:26.225008"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:02:26.230473"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.231483"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:02:26.232449"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:02:26.243789"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.244854"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:02:26.245699"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:02:26.253507"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.254510"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:02:26.255340"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:02:26.262912"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.263994"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:02:26.265077"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:02:26.273004"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.274211"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:02:26.275107"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.000286132097244e-06], ["speedup_factor", -4.50011641443539], ["created_at", "2021-01-27 00:02:26.282750"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.000301361083984e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.283895"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000301361083984e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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 '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:26.284775"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:02:26.299999"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.301117"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:02:26.302038"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -6.9998204708099365e-06], ["speedup_factor", -4.49988358556461], ["created_at", "2021-01-27 00:02:26.322226"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 8.999835699796677e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.323340"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.999835699796677e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:26.324290"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:02:26.337807"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.339023"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.339945"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (11.7ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.000465766185375], ["created_at", "2021-01-27 00:02:26.373314"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.374564"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.375479"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.00003045797348e-06], ["speedup_factor", 5.00093153237075], ["created_at", "2021-01-27 00:02:26.386816"], ["control_duration", 4.999805241823196e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 4.999805241823196e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.387999"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.388992"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.000465766185375], ["created_at", "2021-01-27 00:02:26.399063"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.400054"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.409265"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.50011641443539], ["created_at", "2021-01-27 00:02:26.425670"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.426847"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.427873"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 00:02:26.439910"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.441060"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.441905"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.449768"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.450695"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.451601"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.459294"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.460231"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.461035"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:02:26.469339"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.470202"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.470960"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:02:26.477767"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.478570"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.479315"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.486451"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.487286"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.488016"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:02:26.494749"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.495547"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.496258"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:02:26.502728"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.503557"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.504264"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.510476"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.511230"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.511901"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:02:26.517925"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.518624"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.519217"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:02:26.524594"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.525245"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.525829"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:02:26.531286"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.531951"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.532612"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:02:26.538568"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.539309"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.539950"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:02:26.545546"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.546222"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.546822"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:02:26.558268"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.558924"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.559501"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.572735"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.573612"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.574339"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:02:26.591044"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.592061"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.592872"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.610972"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.612153"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.613086"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.625003"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.625985"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.626784"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:02:26.637973"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.639063"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.639984"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:02:26.648122"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.649045"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.649852"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:02:26.657269"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.658176"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.658958"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.666717"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.667653"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.668506"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:02:26.686760"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.687745"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.688582"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.695796"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.696682"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.697446"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:02:26.704509"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.705380"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.706100"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.721878"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.722761"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.723585"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:02:26.730785"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.731732"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.732523"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.748885"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.749858"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.750644"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.993091225624084e-07], ["speedup_factor", -1.999068901303538], ["created_at", "2021-01-27 00:02:26.757778"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.9995495676994324e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.758653"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9995495676994324e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.759396"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:02:26.767423"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.768365"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.769174"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.776282"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.777074"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.777779"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:02:26.784697"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.785526"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.786252"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.802140"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.803043"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.803809"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:02:26.810344"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.811086"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.811790"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:02:26.818551"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.819354"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.820045"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:02:26.826336"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.827107"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.827790"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.000465766185375], ["created_at", "2021-01-27 00:02:26.834539"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.835330"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.836009"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.849558"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.850465"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.851205"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:02:26.875124"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.876071"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.876845"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9997900128364563e-06], ["speedup_factor", 3.9990689013035383], ["created_at", "2021-01-27 00:02:26.887715"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.888763"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.889564"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000301361083984e-06], ["speedup_factor", -5.50011641443539], ["created_at", "2021-01-27 00:02:26.900555"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.1000316590070724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:02:26.901593"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000316590070724e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:26.902389"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:02:26.920101"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:02:26.921375"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 00:02:26.922218"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:02:26.927843"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.928829"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.929718"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.9993243515491486e-06], ["speedup_factor", 3.9986033519553073], ["created_at", "2021-01-27 00:02:26.937592"], ["control_duration", 3.9995647966861725e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.9995647966861725e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:02:26.938940"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:02:26.940091"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:02:26.949478"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:02:26.950555"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:02:26.951432"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:02:26.961482"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.962682"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.963620"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2021-01-27 00:02:26.967001"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.968011"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:02:26.968885"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4999881386756897e-05], ["created_at", "2021-01-27 00:02:26.972351"], ["control_duration", 0.0], ["candidate_duration", 1.4999881386756897e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.973261"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999881386756897e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:26.974143"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.00003045797348e-06], ["created_at", "2021-01-27 00:02:26.988127"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.989466"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.990445"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:02:26.993433"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:26.994583"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:02:26.995462"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000541806221008e-05], ["speedup_factor", -11.00279459711225], ["created_at", "2021-01-27 00:02:26.999413"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.1000316590070724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:02:27.000580"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.1000316590070724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:02:27.001505"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.9ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:28.775856"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 00:03:28.777967"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:03:28.779367"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:03:28.789037"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:03:28.790019"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:03:28.790859"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:03:28.802194"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:03:28.803207"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:03:28.804079"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:03:28.815025"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.816288"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.817352"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.000255674123764e-06], ["created_at", "2021-01-27 00:03:28.825245"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.826292"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.827232"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:03:28.829838"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.830728"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:03:28.831663"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.200009137392044e-05], ["speedup_factor", -13.00279459711225], ["created_at", "2021-01-27 00:03:28.835421"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.2999866157770157e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.836420"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2999866157770157e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:28.837224"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:03:28.853440"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.854636"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.855474"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:03:28.858191"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.859120"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:03:28.859909"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.000286132097244e-06], ["speedup_factor", -4.50011641443539], ["created_at", "2021-01-27 00:03:28.863465"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.000301361083984e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.864524"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000301361083984e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:28.865431"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:03:28.884257"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.885311"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:03:28.886191"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.00000761449337e-05], ["speedup_factor", -11.002328830926874], ["created_at", "2021-01-27 00:03:28.895079"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.0999850928783417e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.896607"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:257:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:257:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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 '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:28.897679"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000301361083984e-06], ["speedup_factor", -2.500155231294629], ["created_at", "2021-01-27 00:03:28.909019"], ["control_duration", 5.999580025672913e-06], ["candidate_duration", 1.4999881386756897e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 5.999580025672913e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.910129"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.4999881386756897e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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 '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:28.911079"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0999850928783417e-05], ["speedup_factor", -6.49988358556461], ["created_at", "2021-01-27 00:03:28.920280"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.2999866157770157e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.921361"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999866157770157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/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 '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:28.922218"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:03:28.931738"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.933120"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:03:28.934005"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:03:28.939578"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.940602"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:03:28.941462"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:03:28.950523"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.951665"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:03:28.952558"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:03:28.974983"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.976622"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:03:28.977562"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:03:28.985706"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.986724"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:03:28.987530"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:03:28.996065"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:03:28.998162"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:03:28.999397"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999625712633133e-05], ["speedup_factor", -4.999534378395158], ["created_at", "2021-01-27 00:03:29.033493"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.4999881386756897e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.034634"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.4999881386756897e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:29.035726"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:03:29.055431"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.056403"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:03:29.057230"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.073113"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.074305"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.075183"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 00:03:29.099080"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.100332"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.101410"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:03:29.121790"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.122781"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.123616"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 00:03:29.133189"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.134710"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.135648"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:03:29.143709"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.144731"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.145560"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 00:03:29.155965"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.157186"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.158119"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.183308"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.184665"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.185679"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:03:29.193528"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.194425"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.195216"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:03:29.202513"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.203396"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.204182"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:03:29.211415"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.212308"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.213108"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.220425"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.221237"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.221957"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.228756"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.229571"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.230291"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:03:29.237817"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.238691"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.239416"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:03:29.245931"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.246861"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.247610"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.254012"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.254786"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.255508"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.261782"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.262537"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.263226"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:03:29.269880"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.270659"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.271323"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:03:29.277378"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.278107"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.278767"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:03:29.285098"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.285869"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.286548"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:03:29.292758"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.293535"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.294184"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.299843"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.300507"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.301094"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.313536"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.314403"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.315075"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:03:29.321073"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.328038"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.328839"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:03:29.337000"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.337894"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.338650"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.345793"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.346612"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.347320"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:03:29.353824"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.354605"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.355286"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:03:29.361556"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.362309"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.363012"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.378156"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.379001"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.379711"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:03:29.386831"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.387629"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.388329"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:03:29.394869"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.395714"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.396466"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:03:29.403999"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.404873"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.405574"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:03:29.412074"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.412855"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.413574"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:03:29.427388"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.428260"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.428989"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:03:29.435292"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.436100"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.436832"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:03:29.443595"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.444369"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.444997"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 00:03:29.450850"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.451586"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.452213"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:03:29.458186"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.458956"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.459568"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.480701"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.481705"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.482509"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:03:29.489088"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.489826"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.490507"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:03:29.497008"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.497796"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.498493"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.505026"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.505818"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.506495"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.512941"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.513815"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.514571"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:03:29.529295"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.530144"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.530865"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:03:29.546569"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.547510"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.548249"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.00001522898674e-05], ["speedup_factor", -21.00465766185375], ["created_at", "2021-01-27 00:03:29.567962"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.0999927073717117e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.568991"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0999927073717117e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/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/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:03:29.569780"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:03:29.581303"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.582325"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.583133"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 00:03:29.597630"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.598777"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:03:29.599637"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (1.7ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.156810"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.158121"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:05:05.159020"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000541806221008e-05], ["speedup_factor", -11.00279459711225], ["created_at", "2021-01-27 00:05:05.169198"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.1000316590070724e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.170372"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000316590070724e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.171260"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:05:05.191596"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.192695"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:05:05.193574"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:05:05.201768"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.202921"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:05:05.203839"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:05:05.211617"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.212775"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:05:05.213664"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:05:05.224137"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.225167"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:05:05.226009"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:05:05.233396"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.234544"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:05:05.235923"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.9995647966861725e-06], ["speedup_factor", 2.3330746546639762], ["created_at", "2021-01-27 00:05:05.244904"], ["control_duration", 6.9998204708099365e-06], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 6.9998204708099365e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.246129"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:05:05.246990"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1000316590070724e-05], ["speedup_factor", -12.00279459711225], ["created_at", "2021-01-27 00:05:05.252986"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.200009137392044e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.254048"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.200009137392044e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.254903"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999625712633133e-05], ["speedup_factor", -12.996741154562384], ["created_at", "2021-01-27 00:05:05.264682"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.2999866157770157e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.265909"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999866157770157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.267231"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.287400"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:05:05.288593"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-01-27 00:05:05.289436"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 8.00006091594696e-06], ["speedup_factor", 9.0018630647415], ["created_at", "2021-01-27 00:05:05.295688"], ["control_duration", 8.999835699796677e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 8.999835699796677e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.296776"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.297689"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.9997900128364563e-06], ["speedup_factor", 3.9990689013035383], ["created_at", "2021-01-27 00:05:05.300319"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.301256"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:05:05.302170"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999625712633133e-05], ["created_at", "2021-01-27 00:05:05.305818"], ["control_duration", 0.0], ["candidate_duration", 1.1999625712633133e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.306902"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.1999625712633133e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.307765"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.337155"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.338431"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.339410"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:05:05.342296"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.343356"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:05:05.344237"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -8.0], ["created_at", "2021-01-27 00:05:05.348132"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.600012183189392e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.349333"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.600012183189392e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.350441"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.366745"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.368459"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:05:05.369761"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 00:05:05.377666"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:05:05.378785"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:05:05.379634"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:05:05.391426"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:05:05.392735"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:05:05.393727"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.200009137392044e-05], ["speedup_factor", -7.0], ["created_at", "2021-01-27 00:05:05.406847"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.400010660290718e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.407967"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.400010660290718e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.408869"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:05:05.431499"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.432625"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.433522"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 00:05:05.447782"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.449014"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.449891"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.49988358556461], ["created_at", "2021-01-27 00:05:05.468249"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.469838"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:05:05.470894"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4999881386756897e-05], ["speedup_factor", -5.999534378395158], ["created_at", "2021-01-27 00:05:05.485543"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.800013706088066e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.486791"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.800013706088066e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:05:05.487709"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 1.50011641443539], ["created_at", "2021-01-27 00:05:05.503249"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.504515"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.505472"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:05:05.513689"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.514663"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.515481"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:05:05.525513"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.526563"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.527447"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9997900128364563e-06], ["speedup_factor", 3.9990689013035383], ["created_at", "2021-01-27 00:05:05.550755"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.552054"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.552966"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.0], ["created_at", "2021-01-27 00:05:05.561764"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.562757"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.563726"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.49988358556461], ["created_at", "2021-01-27 00:05:05.573401"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.574394"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.575462"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.597328"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.598389"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.599299"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 00:05:05.608066"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.609067"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.609941"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2021-01-27 00:05:05.618164"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.619109"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.619907"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:05:05.627038"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.627883"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.628672"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.636444"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.637281"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.638018"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:05:05.655176"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.656128"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.656894"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.663662"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.664612"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.665374"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 00:05:05.673026"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.673948"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.674717"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.681824"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.682736"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.683506"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:05:05.690743"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.691534"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.692244"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:05:05.713517"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.714434"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.715388"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.723227"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.724116"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.724884"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:05:05.731868"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.732720"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.733501"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 00:05:05.740800"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.741593"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.742310"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:05:05.748788"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.749586"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.750265"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:05:05.763719"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.764592"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.765390"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.784599"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.785623"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.786572"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:05:05.793816"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.794621"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.795329"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:05:05.801992"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.802819"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.803511"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:05:05.810187"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.811010"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.811744"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:05:05.818517"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.819393"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.820123"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:05:05.826514"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.827280"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.827972"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.834573"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.835384"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.836084"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:05:05.842574"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.843306"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.844206"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.856697"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.857455"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.858133"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:05:05.864267"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.864965"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.865619"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:05:05.871820"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.872563"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.873231"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:05:05.879249"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.879962"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.880613"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:05:05.886993"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.887747"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.888405"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:05:05.894461"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.895186"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.895839"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:05:05.901894"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.902585"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.903192"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:05:05.908451"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.909064"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.909628"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:05:05.914722"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.915325"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.916103"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:05:05.921797"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.922423"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.922989"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:05:05.928102"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.928718"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.929305"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:05:05.942010"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.942792"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.943405"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:05:05.957212"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.957995"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.958650"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.00003045797348e-06], ["speedup_factor", 4.999068901303538], ["created_at", "2021-01-27 00:05:05.986010"], ["control_duration", 5.000270903110504e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 5.000270903110504e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.987229"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:05:05.988206"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:06:16.232569"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 00:06:16.234549"]] LabTech::Observation Create (0.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:06:16.235752"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:06:16.272241"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.273598"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.275766"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.295143"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.297984"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.300569"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:06:16.305629"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.308155"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:06:16.323943"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -15.003260363297624], ["created_at", "2021-01-27 00:06:16.327610"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.4999881386756897e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.328966"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999881386756897e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:16.329689"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.3ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:06:16.348514"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.349852"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.350822"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.353109"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.354069"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:06:16.354718"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -6.9998204708099365e-06], ["speedup_factor", -7.998137802607077], ["created_at", "2021-01-27 00:06:16.357985"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 8.00006091594696e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.358881"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 8.00006091594696e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:16.359815"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:06:16.377915"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:06:16.378831"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:06:16.379559"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.388830"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:06:16.389789"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:06:16.390553"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.00000761449337e-05], ["speedup_factor", -11.002328830926874], ["created_at", "2021-01-27 00:06:16.400507"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.0999850928783417e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.401501"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:16.402259"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.415257"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.416210"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:06:16.417170"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -14.996741154562384], ["created_at", "2021-01-27 00:06:16.426111"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.5000347048044205e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.427150"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.5000347048044205e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:16.427893"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.438888"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.440221"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:06:16.441632"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:06:16.447311"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.448341"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:06:16.449312"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.460735"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.461865"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:06:16.462813"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.470588"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.471891"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:06:16.473451"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:06:16.483665"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.485071"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:06:16.485996"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:06:16.494266"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.495313"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:06:16.496292"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.1000392735004425e-05], ["speedup_factor", -22.005123428039123], ["created_at", "2021-01-27 00:06:16.505709"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.200016751885414e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:06:16.507128"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.200016751885414e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:16.508085"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.000465766185375], ["created_at", "2021-01-27 00:06:16.517548"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.518698"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:06:16.519690"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1000316590070724e-05], ["speedup_factor", -6.50011641443539], ["created_at", "2021-01-27 00:06:16.540312"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.3000331819057465e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.541561"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.3000331819057465e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:16.542418"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:06:16.558929"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.560337"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.561344"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:06:16.596603"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.597991"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.599176"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9997900128364563e-06], ["speedup_factor", 3.9990689013035383], ["created_at", "2021-01-27 00:06:16.619794"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.621375"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.622429"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 00:06:16.633691"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.634723"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.635508"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.643169"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.644047"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.644790"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.651509"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.652338"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.653077"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:06:16.660673"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.661693"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.662629"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:06:16.678461"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.679540"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.680354"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.687226"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.688124"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.688899"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.695698"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.696588"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.697309"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:06:16.703873"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.704723"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.705434"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.711609"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.712378"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.713038"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:06:16.725471"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.726354"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.727073"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:06:16.733922"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.734851"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.735587"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:06:16.742657"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.743487"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.744210"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.750374"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.751102"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.751751"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:06:16.757469"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.758206"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.758874"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.772633"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.773498"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.774211"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:06:16.799013"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.800083"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.801054"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:06:16.807600"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.808421"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.809130"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.815358"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.816589"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.817503"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.825418"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.826250"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.826964"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.834094"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.834973"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.835736"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.841883"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.842611"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.843256"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:06:16.857483"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.858334"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.859033"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:06:16.873843"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.874743"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.875455"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.881403"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.882171"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.882819"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:06:16.889154"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.889936"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.890624"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.896858"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.897612"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.898455"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.904417"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.905232"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.905953"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:06:16.911778"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.912522"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.913211"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.919867"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.920706"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.921403"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.927480"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.928219"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.928873"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:06:16.934572"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.935454"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.936118"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:06:16.941946"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.942684"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.943351"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.948912"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.949630"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.950261"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:06:16.955777"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.963169"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.963798"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:06:16.969526"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.970242"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.970859"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:06:16.976377"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.977008"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.977585"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:06:16.982335"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.982931"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.983470"]] LabTech::Experiment Update All (0.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:16.988320"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.988936"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.989490"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:16.994249"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.994858"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:16.995396"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.0ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:06:17.000314"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.000965"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.001544"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:06:17.006578"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.007193"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.007738"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:06:17.019697"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.020527"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.021244"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:06:17.029065"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.029827"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.030454"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.00006091594696e-06], ["speedup_factor", -5.0], ["created_at", "2021-01-27 00:06:17.040251"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:06:17.041209"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:06:17.041962"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:07:13.323430"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.326091"]] LabTech::Observation Create (0.8ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:07:13.327823"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (1.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.2999866157770157e-05], ["created_at", "2021-01-27 00:07:13.347632"], ["control_duration", 0.0], ["candidate_duration", 1.2999866157770157e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.349629"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999866157770157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:13.351385"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.7ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:13.396771"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.398870"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:07:13.400677"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:07:13.409491"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.410756"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:07:13.411918"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:07:13.424900"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.426939"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:07:13.429152"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.6ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.438740"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.6ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.441821"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:07:13.444783"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.459945"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.461269"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:07:13.462527"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:07:13.470869"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.471981"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:07:13.472803"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -9.999610483646393e-06], ["speedup_factor", -10.997206703910615], ["created_at", "2021-01-27 00:07:13.480215"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.0999850928783417e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.481275"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:13.482100"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.600058749318123e-05], ["speedup_factor", -17.004191895668374], ["created_at", "2021-01-27 00:07:13.491803"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.7000362277030945e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:13.493422"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000362277030945e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:13.494509"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -15.003260363297624], ["created_at", "2021-01-27 00:07:13.521536"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.4999881386756897e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.522739"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.4999881386756897e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:13.523827"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:07:13.542385"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.543535"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.544463"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:13.555645"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.556740"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.557636"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.3000331819057465e-05], ["speedup_factor", -14.003260363297624], ["created_at", "2021-01-27 00:07:13.575642"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.400010660290718e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.576953"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.400010660290718e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:13.577827"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:07:13.589045"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.590230"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.591128"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.599135"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.600124"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.600951"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:07:13.607936"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.608871"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.609677"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:07:13.618149"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.619466"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.620355"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:07:13.627998"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.628931"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.629711"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:13.637300"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.638255"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.639059"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:07:13.646802"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.647752"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.657535"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.665101"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.665987"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.666737"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:07:13.675221"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.676139"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.676892"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:13.683339"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.684215"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.684960"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.691511"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.692362"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.693035"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:07:13.699306"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.700037"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.700712"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.706750"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.707503"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.708160"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:07:13.713839"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.714550"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.715190"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.721159"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.721941"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.722585"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.728389"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.729117"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.729761"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:07:13.735432"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.736192"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.736840"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:07:13.742671"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.743397"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.744047"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.749778"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.750542"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.751200"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.764858"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.765635"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.766257"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:07:13.780112"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.780991"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.781692"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:07:13.798009"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.799040"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.799836"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.999534450651769], ["created_at", "2021-01-27 00:07:13.820027"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.821544"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.822634"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:07:13.852216"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.853383"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.854254"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:07:13.861948"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.862827"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.863631"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:07:13.871580"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.872598"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.873413"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:07:13.880321"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.881149"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.881880"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:07:13.888785"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.889612"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.890328"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.896618"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.897390"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.898076"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.912539"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.913388"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.914097"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:07:13.920982"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.921769"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.922478"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.928752"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.929514"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.930159"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.935961"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.936812"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.937479"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.943381"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.944220"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.944995"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:07:13.957562"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.958399"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.959088"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.964938"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.965707"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.966348"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.972648"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.973427"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.974074"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:07:13.979862"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.980576"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.981198"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:13.987141"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.987957"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:13.988630"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:14.001452"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.002380"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.003275"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:14.009856"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.010696"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.011374"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:14.017395"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.018408"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.019189"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:14.033304"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.034056"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.034757"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:14.041527"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.042306"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.042987"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:07:14.057393"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:07:14.058298"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:07:14.059121"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:07:14.078910"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:07:14.079822"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:07:14.080586"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:07:14.086018"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.087230"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.088318"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:07:14.095415"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:07:14.096505"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:07:14.097327"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:07:14.106307"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:07:14.107807"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:07:14.108808"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:07:14.118512"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.119855"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.120722"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:07:14.123275"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.124142"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:07:14.124894"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -2.3000407963991165e-05], ["speedup_factor", -24.0055891942245], ["created_at", "2021-01-27 00:07:14.128323"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.400018274784088e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.129279"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.400018274784088e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:14.130010"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:14.143126"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.144215"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.145008"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:07:14.147700"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.148668"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:07:14.149486"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.8999911844730377e-05], ["speedup_factor", -10.49988358556461], ["created_at", "2021-01-27 00:07:14.153910"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.0999927073717117e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:07:14.155297"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.0999927073717117e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:07:14.156477"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND "lab_tech_observations"."name" != ? WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:10:51.257424"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (1.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-01-27 00:10:51.260157"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 00:10:51.261971"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (1.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:10:51.270291"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.272675"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.274776"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:10:51.285984"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.287218"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:10:51.288173"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.600012183189392e-05], ["speedup_factor", -17.003726129483], ["created_at", "2021-01-27 00:10:51.292516"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.6999896615743637e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.293961"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.6999896615743637e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:51.294895"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:10:51.319152"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.320645"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.321911"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:51.325741"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.327226"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:10:51.328125"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.0999850928783417e-05], ["speedup_factor", -6.49988358556461], ["created_at", "2021-01-27 00:10:51.332329"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.2999866157770157e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.333407"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2999866157770157e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:51.334175"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:51.350292"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.351453"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:51.352317"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:10:51.363064"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:10:51.364537"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:10:51.365525"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:51.378459"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:10:51.379847"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:10:51.380845"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -8.999835699796677e-06], ["speedup_factor", -5.49988358556461], ["created_at", "2021-01-27 00:10:51.418881"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.0999850928783417e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.420017"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:51.420895"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:10:51.440701"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.441883"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.442732"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:51.453358"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.454434"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.455237"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:51.471097"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.472557"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.473508"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:10:51.495355"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.496550"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.497426"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:10:51.518983"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.520353"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.521868"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:10:51.559999"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.561099"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.561914"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:51.569460"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.570498"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.571344"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:51.579641"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.580629"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.581373"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:10:51.588810"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.589856"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.590744"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:10:51.597925"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.598859"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.599572"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:10:51.607011"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.608047"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.608794"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:51.615616"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.616540"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.617248"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.49988358556461], ["created_at", "2021-01-27 00:10:51.632722"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.634679"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.636062"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:10:51.646676"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.648340"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.649683"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:10:51.665583"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.667317"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.668323"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 00:10:51.686157"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.689123"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.690973"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:51.701479"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.702546"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.703439"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:10:51.720720"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.723461"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.725345"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:10:51.733157"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.734552"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.736426"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 00:10:51.755821"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.757323"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.758458"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:10:51.779060"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.781622"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.783127"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 00:10:51.797989"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.800627"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.802425"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:10:51.815479"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.816534"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.817330"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 00:10:51.831553"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.834186"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.835811"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0002328830926874], ["created_at", "2021-01-27 00:10:51.861230"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.9995495676994324e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.862986"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9995495676994324e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.863961"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.9997900128364563e-06], ["speedup_factor", -3.9990689013035383], ["created_at", "2021-01-27 00:10:51.898624"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.901841"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.903598"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 1.50011641443539], ["created_at", "2021-01-27 00:10:51.915646"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.918371"]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.920312"]] LabTech::Experiment Update All (0.5ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:51.936645"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.939195"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.941712"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 00:10:51.962879"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.965527"]] LabTech::Observation Create (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:51.967402"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 00:10:52.010588"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.013522"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.014941"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.4ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -3.000255674123764e-06], ["speedup_factor", -4.00093153237075], ["created_at", "2021-01-27 00:10:52.031971"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.034686"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.037175"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 00:10:52.049845"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.052606"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.054735"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.5ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:10:52.072755"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.077343"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.079747"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.000465766185375], ["created_at", "2021-01-27 00:10:52.101289"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.102574"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.103431"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -3.000255674123764e-06], ["speedup_factor", -4.00093153237075], ["created_at", "2021-01-27 00:10:52.131506"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.134107"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.136044"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:10:52.156064"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.158772"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.160879"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.000496119260788e-06], ["speedup_factor", 5.001397298556125], ["created_at", "2021-01-27 00:10:52.181028"], ["control_duration", 5.000270903110504e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 5.000270903110504e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.184026"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.186435"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:10:52.199895"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.201255"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.202197"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Result Update (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.3ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:10:52.221825"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.223702"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.224721"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.7ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 00:10:52.262766"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.6ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.265979"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.268575"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.4ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.8ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.3ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.6ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.9997900128364563e-06], ["speedup_factor", 2.49988358556461], ["created_at", "2021-01-27 00:10:52.318781"], ["control_duration", 4.999805241823196e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.999805241823196e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.321827"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.324612"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.5ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.00003045797348e-06], ["speedup_factor", -2.333436820863086], ["created_at", "2021-01-27 00:10:52.354822"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 6.9998204708099365e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.357037"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 6.9998204708099365e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.358270"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:10:52.394957"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.397683"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.400992"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 00:10:52.423951"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.428640"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.431890"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:52.448491"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.449740"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.450599"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 00:10:52.470378"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.472646"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.474599"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.8ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -3.700004890561104e-05], ["speedup_factor", -13.33421297733623], ["created_at", "2021-01-27 00:10:52.513642"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 3.9999838918447495e-05]] LabTech::Observation Create (0.6ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.516640"]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.9999838918447495e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:52.519829"]] LabTech::Observation Load (0.5ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.0007061064243317e-06], ["speedup_factor", 1.5004657661853749], ["created_at", "2021-01-27 00:10:52.545811"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.9995495676994324e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:10:52.547622"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9995495676994324e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:10:52.548665"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -5.099968984723091e-05], ["speedup_factor", -51.987430167597765], ["created_at", "2021-01-27 00:10:52.576697"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 5.1999930292367935e-05]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.579223"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 5.1999930292367935e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:52.580822"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:10:52.604859"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.606453"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:10:52.607702"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 3.000255674123764e-06], ["created_at", "2021-01-27 00:10:52.620525"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.622179"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:10:52.623763"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.1999625712633133e-05], ["speedup_factor", -12.996741154562384], ["created_at", "2021-01-27 00:10:52.632551"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.2999866157770157e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.634306"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999866157770157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:52.635300"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -2.0999927073717117e-05], ["speedup_factor", -11.49988358556461], ["created_at", "2021-01-27 00:10:52.646727"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.2999942302703857e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.648277"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.2999942302703857e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:10:52.649244"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:10:52.665214"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.666423"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:10:52.667401"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:10:52.676973"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.678595"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:10:52.679567"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:10:52.689030"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.690987"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:10:52.692097"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:52.700778"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.702804"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:10:52.703885"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:10:52.714113"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:10:52.715486"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:10:52.716369"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.9ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.8ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.2000557035207748e-05], ["speedup_factor", -5.000465693883887], ["created_at", "2021-01-27 00:12:40.060831"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.5000347048044205e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.062342"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.5000347048044205e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.063173"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.8ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.6ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.096776"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.098820"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.099910"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 00:12:40.124538"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.127621"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.129381"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 1.50011641443539], ["created_at", "2021-01-27 00:12:40.141880"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.143499"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.144584"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.153504"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.154716"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.155816"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 2.0], ["created_at", "2021-01-27 00:12:40.163336"], ["control_duration", 1.9995495676994324e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.9995495676994324e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.164500"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.165368"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:12:40.173591"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.174840"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.175801"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -5.000270903110504e-06], ["speedup_factor", -6.001397298556125], ["created_at", "2021-01-27 00:12:40.185156"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 6.00004568696022e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.186278"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 6.00004568696022e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.187100"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:12:40.206140"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.207747"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.208794"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:12:40.227707"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.228919"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.229790"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 2.0], ["created_at", "2021-01-27 00:12:40.237066"], ["control_duration", 1.9995495676994324e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.9995495676994324e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.238059"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.238823"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.246048"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.247036"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.247806"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:12:40.255492"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.256582"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.257350"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:12:40.265295"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.266441"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.267242"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:12:40.283211"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.294379"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.295270"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.302577"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.303615"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.304477"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:12:40.311960"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.313255"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.314057"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:12:40.321486"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.322489"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.323387"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.331930"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.333084"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.333965"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 00:12:40.351672"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.352823"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.353637"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:12:40.361700"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.362752"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.363499"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.371177"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.372364"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.373159"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.382081"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.383137"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.383895"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.391872"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.392970"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.393720"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:12:40.411694"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.412901"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.413763"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 00:12:40.431329"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.432618"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.433457"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:12:40.453493"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.454691"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.455627"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.463555"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.464606"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.465574"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 00:12:40.474303"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.476414"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.477592"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:12:40.485835"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.487119"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.488021"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.495976"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.497007"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.497869"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 00:12:40.506012"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.507229"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.508063"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.526560"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.527603"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.528496"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.535505"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.536439"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.537153"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.543739"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.544761"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.545571"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.552051"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.552937"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.553620"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.560151"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.560998"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.561664"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.567710"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.568519"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.569152"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.575008"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.575923"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.576602"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.582492"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.583319"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.583964"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.589507"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.590404"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.591161"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.597208"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.598031"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.598667"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.604177"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.604955"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.605648"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.611556"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.612365"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.612992"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["created_at", "2021-01-27 00:12:40.618403"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.619124"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.619692"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 00:12:40.631434"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.632235"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.632863"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.641216"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.642199"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.642956"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -8.00006091594696e-06], ["speedup_factor", -9.0018630647415], ["created_at", "2021-01-27 00:12:40.651893"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 8.999835699796677e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.652920"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.999835699796677e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.653693"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:12:40.667107"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 00:12:40.668096"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 00:12:40.668918"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -7.999595254659653e-06], ["speedup_factor", -8.997672253258845], ["created_at", "2021-01-27 00:12:40.678933"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 8.999835699796677e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.679936"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.999835699796677e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.680642"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 00:12:40.706075"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.707331"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:12:40.708264"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.717059"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.718261"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 00:12:40.719048"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 00:12:40.724330"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.725482"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:12:40.726270"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 00:12:40.734165"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.735430"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:12:40.736244"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.745504"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.746578"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:12:40.747482"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.754648"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.755956"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:12:40.756872"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 00:12:40.766630"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.767701"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 00:12:40.768493"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -9.000301361083984e-06], ["speedup_factor", -10.002328830926874], ["created_at", "2021-01-27 00:12:40.775611"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.00000761449337e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.776753"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.777599"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -8.0], ["created_at", "2021-01-27 00:12:40.787546"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.600012183189392e-05]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.789045"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.600012183189392e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.790328"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 00:12:40.816802"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 00:12:40.817880"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-01-27 00:12:40.818642"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.824918"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 00:12:40.826399"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 00:12:40.827280"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 00:12:40.839352"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 00:12:40.841031"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 00:12:40.841971"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.851106"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.852230"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.853061"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 00:12:40.860783"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.862074"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.862921"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 00:12:40.865267"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.866179"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:12:40.866885"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.3999640941619873e-05], ["speedup_factor", -7.99976717112922], ["created_at", "2021-01-27 00:12:40.870042"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.5999656170606613e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.871033"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.5999656170606613e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.871831"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 00:12:40.881060"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.882597"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.883830"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 00:12:40.886914"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.888072"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 00:12:40.888934"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.8999911844730377e-05], ["speedup_factor", -19.99534450651769], ["created_at", "2021-01-27 00:12:40.892620"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 00:12:40.893705"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 00:12:40.894446"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:34:01.211375"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 17:34:01.212787"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-01-27 17:34:01.213569"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.222310"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.223418"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.224200"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.226369"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.227256"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:34:01.227961"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.200009137392044e-05], ["speedup_factor", -12.997206703910615], ["created_at", "2021-01-27 17:34:01.230905"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.3000331819057465e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.231839"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.3000331819057465e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.232538"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.248026"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.249138"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.249928"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.252566"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.253582"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:34:01.254335"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -9.000301361083984e-06], ["speedup_factor", -10.002328830926874], ["created_at", "2021-01-27 17:34:01.257596"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.00000761449337e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.258552"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.259264"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.276540"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 17:34:01.277632"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 17:34:01.278427"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:34:01.288055"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 17:34:01.289202"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 17:34:01.290010"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.298321"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.299468"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.300281"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -2.00001522898674e-05], ["speedup_factor", -11.0], ["created_at", "2021-01-27 17:34:01.306880"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.200016751885414e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.308139"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.200016751885414e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.308981"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.323878"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.325217"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:34:01.326045"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.3000331819057465e-05], ["speedup_factor", -7.50011641443539], ["created_at", "2021-01-27 17:34:01.334412"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.5000347048044205e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.335780"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.5000347048044205e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.336630"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 17:34:01.345829"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.346989"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:34:01.347785"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:34:01.355652"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.356899"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:34:01.357826"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 17:34:01.364477"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.365566"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:34:01.366400"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.373446"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.374905"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:34:01.375777"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.384030"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.385190"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:34:01.386055"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.393011"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.394293"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 17:34:01.395253"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.4000572264194489e-05], ["speedup_factor", -15.003726129482999], ["created_at", "2021-01-27 17:34:01.400660"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.5000347048044205e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:34:01.401818"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.5000347048044205e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.402644"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -8.999835699796677e-06], ["speedup_factor", -5.49988358556461], ["created_at", "2021-01-27 17:34:01.411819"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.0999850928783417e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.412971"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.413816"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:34:01.436236"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (15.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.437465"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.453852"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 17:34:01.474895"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.476183"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.477024"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:34:01.498116"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.499245"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.500049"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:34:01.519279"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.520800"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.521660"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:34:01.530529"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.531703"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.532512"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:34:01.540387"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.541455"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.542214"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:34:01.549667"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.550846"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.551855"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:34:01.559019"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.560014"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.560782"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:34:01.568063"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.569120"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.569895"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:34:01.587032"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.588109"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.588953"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.595731"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.596635"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.597330"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:34:01.603589"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.604513"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.605192"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.999534450651769], ["created_at", "2021-01-27 17:34:01.611565"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.612513"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.613237"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:34:01.619902"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.620844"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.621544"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:34:01.635542"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.636890"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.637821"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:34:01.644897"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.645951"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.646726"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.663554"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.664627"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.665364"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.671800"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.672701"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.673432"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.679580"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.680437"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.681102"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.694624"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.695627"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.696375"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.702854"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.703726"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.704408"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.710519"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.711330"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.711992"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.717744"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.718701"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.719387"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:34:01.725587"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.726540"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.727214"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.741349"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.742257"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.742950"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:34:01.757052"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.758009"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.758685"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:34:01.764614"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.765628"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.766273"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.772357"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.773329"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.774028"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:34:01.780304"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.781166"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.781869"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:34:01.788009"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.788884"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.789526"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.795297"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.796120"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.796871"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.802626"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.803422"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.804043"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.809443"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.810197"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.810815"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.815892"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.816644"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.817218"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.822358"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.829473"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.830130"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.836069"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.836910"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.837539"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.843227"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.844024"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.844659"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.850075"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.850999"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.851612"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.856957"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.857702"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.858293"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.863083"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.863723"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.864229"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.0ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.868785"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.869422"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.869935"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.0ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:34:01.874426"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.875075"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.875593"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.0ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.880123"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.880782"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.881327"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:34:01.886021"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.886667"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.887187"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.0ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:34:01.898964"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.899725"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 17:34:01.900281"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -8.0], ["created_at", "2021-01-27 17:34:01.908218"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.600012183189392e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.909094"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.600012183189392e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/observation.rb:29:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:309:in `block in generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:306:in `generate_result'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.5.0/lib/scientist/experiment.rb:225:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:34:01.909848"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:34:01.924241"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.925441"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.926534"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:34:01.939387"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.940711"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:34:01.941536"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.204770"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-01-27 17:37:41.206156"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 17:37:41.207034"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:37:41.226225"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.227246"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.228069"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:37:41.230435"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.231298"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:37:41.232064"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999625712633133e-05], ["speedup_factor", -12.996741154562384], ["created_at", "2021-01-27 17:37:41.236141"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.2999866157770157e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.237097"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2999866157770157e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:41.237875"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:37:41.255425"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.256395"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.257197"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -3.000255674123764e-06], ["speedup_factor", -4.00093153237075], ["created_at", "2021-01-27 17:37:41.259568"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.260385"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:37:41.261218"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.400018274784088e-05], ["speedup_factor", -25.0055891942245], ["created_at", "2021-01-27 17:37:41.264432"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.4999957531690598e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.265295"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.4999957531690598e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:41.266053"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:37:41.281867"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.282796"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.283541"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:37:41.291496"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 17:37:41.292431"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 17:37:41.293352"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.302392"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 17:37:41.303306"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 17:37:41.304083"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:37:41.338537"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.339587"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 17:37:41.340429"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.999835699796677e-06], ["speedup_factor", -5.49988358556461], ["created_at", "2021-01-27 17:37:41.359855"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.0999850928783417e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.360909"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999850928783417e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:41.361786"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.00000761449337e-05], ["speedup_factor", -10.997672253258845], ["created_at", "2021-01-27 17:37:41.373282"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.1000316590070724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.374264"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000316590070724e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:41.375080"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:37:41.398818"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.399867"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.400730"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9997900128364563e-06], ["created_at", "2021-01-27 17:37:41.412851"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.414225"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.415626"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 17:37:41.428692"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.429864"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.430746"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 17:37:41.452805"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.454011"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.454887"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.462532"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.463379"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.464167"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.472155"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.473157"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.473984"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.482153"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.483326"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.484523"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.0], ["created_at", "2021-01-27 17:37:41.493102"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.494242"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.495096"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 17:37:41.502872"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.503794"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.504660"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:37:41.512739"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.513700"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.514547"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:37:41.522731"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.523625"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.524410"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:37:41.531647"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.532613"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.533360"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:37:41.540332"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.541175"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.541921"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:41.548417"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.549178"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.549876"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:37:41.556152"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.556895"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.557621"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:37:41.570773"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.571565"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.572236"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:37:41.578262"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.578971"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.579624"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:41.585617"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.586287"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.586919"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:37:41.592301"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.592937"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.593528"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:41.598848"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.599497"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.600088"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:37:41.605395"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.606037"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.606622"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:37:41.611925"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.612566"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.613150"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.625532"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.626268"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.626922"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:37:41.632637"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.633446"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.634067"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:37:41.639696"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.640338"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.640910"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:41.646146"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.646787"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.647507"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.653199"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.653901"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.654597"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:37:41.667636"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.668508"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.669231"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.49988358556461], ["created_at", "2021-01-27 17:37:41.675832"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.676717"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.677444"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:37:41.684206"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.684999"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.685706"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:37:41.698899"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.699659"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.700339"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:37:41.706501"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.707228"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.707948"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:37:41.721561"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.722436"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.723156"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:37:41.729529"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.730298"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.730964"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.737564"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.738335"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.739013"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:37:41.745185"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.745923"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.746590"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:37:41.753071"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.753854"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.754530"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:37:41.768486"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.769292"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.769940"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9997900128364563e-06], ["created_at", "2021-01-27 17:37:41.785901"], ["control_duration", 0.0], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.786802"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.787620"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:37:41.804685"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.805736"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.806545"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:37:41.813487"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.814299"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.815083"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.000465766185375], ["created_at", "2021-01-27 17:37:41.822267"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.823103"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.823792"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:41.841259"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.842183"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.843114"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:37:41.850098"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.850900"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.851624"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.858065"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.858799"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.859505"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:37:41.875090"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.875929"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:37:41.876635"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:37:41.899387"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.900272"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:37:41.900990"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -6.9998204708099365e-06], ["speedup_factor", -4.49988358556461], ["created_at", "2021-01-27 17:37:41.907829"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 8.999835699796677e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.908669"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.999835699796677e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:41.909372"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9997900128364563e-06], ["created_at", "2021-01-27 17:37:41.924054"], ["control_duration", 0.0], ["candidate_duration", 2.9997900128364563e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.926292"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 17:37:41.927544"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.5999656170606613e-05], ["speedup_factor", -16.99581005586592], ["created_at", "2021-01-27 17:37:41.934493"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.6999896615743637e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.935777"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.6999896615743637e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:41.936676"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 17:37:41.952143"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.953397"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:37:41.954311"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:37:41.965972"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.967828"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:37:41.969528"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 17:37:41.979075"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.980251"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:37:41.981115"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:41.994149"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:41.995514"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:37:41.996467"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:37:42.008412"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:42.010234"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:37:42.011406"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.3999640941619873e-05], ["speedup_factor", -14.996275605214153], ["created_at", "2021-01-27 17:37:42.038395"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.4999881386756897e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:37:42.039748"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.4999881386756897e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:37:42.040685"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 17:44:02.301910"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.303222"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.304110"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.340070"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.341078"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.341909"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.50011641443539], ["created_at", "2021-01-27 17:44:02.358804"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.000255674123764e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.359716"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.360506"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.367572"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.368382"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.369097"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.375726"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.376515"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.377221"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.383941"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.384712"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.385408"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:02.392194"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.392951"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.393640"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.400261"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.401039"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.401843"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.000255674123764e-06], ["speedup_factor", -4.00093153237075], ["created_at", "2021-01-27 17:44:02.408454"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.409242"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.409920"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.416584"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.417352"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.418031"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:02.424300"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.425057"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.425730"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:02.432324"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.441178"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.441895"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.448554"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.449305"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.449978"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.456302"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.457066"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.457733"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.464026"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.464783"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.465470"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:44:02.471736"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.472465"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.473117"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:02.478981"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.479646"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.480267"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:02.486243"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.486893"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.487453"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.492595"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.493221"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.493785"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.499285"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.499893"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.500445"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.505668"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.506293"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.507038"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.520423"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.521159"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.521869"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:02.527645"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.528382"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.529289"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:02.535516"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.536263"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.536929"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:02.543056"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.543822"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.544540"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:44:02.550820"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.551561"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.552234"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:44:02.558467"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.559223"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.559871"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.580490"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.581360"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.582064"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.597090"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.597947"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.598667"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:44:02.605039"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.605768"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.606432"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:02.612675"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.613582"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.614433"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.620944"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.621675"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.622330"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:02.628565"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.629466"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.630259"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.645737"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.646698"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.647446"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:44:02.654157"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.654934"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.655621"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.662391"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.663184"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.663858"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:02.669940"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.670846"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.671535"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:44:02.677984"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.678722"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.679404"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.692349"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.693158"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.693854"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.707667"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.708528"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.709236"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.716486"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.717295"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.717996"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.724542"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.725280"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.725951"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.732420"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.733169"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.733833"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.747842"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.748695"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.749412"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.764168"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.765013"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- bar\n"], ["created_at", "2021-01-27 17:44:02.765731"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.999595254659653e-06], ["speedup_factor", -8.997672253258845], ["created_at", "2021-01-27 17:44:02.775175"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 8.999835699796677e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.776000"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.999835699796677e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:02.776694"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.00000761449337e-05], ["speedup_factor", -10.997672253258845], ["created_at", "2021-01-27 17:44:02.786763"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.1000316590070724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.787656"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000316590070724e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:02.788398"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:02.798923"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.799922"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.800692"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:02.810663"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.811717"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:02.812636"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:02.834617"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.835715"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:02.836659"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0999385267496109e-05], ["speedup_factor", -11.996741154562384], ["created_at", "2021-01-27 17:44:02.844621"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.1999625712633133e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.845905"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1999625712633133e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:02.846850"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 17:44:02.866305"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.867445"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:02.868274"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 17:44:02.876402"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.877425"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:02.878290"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:02.886208"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.887324"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:02.888145"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.896078"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.897256"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:02.898111"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:02.904906"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.905823"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:02.906654"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.6999972760677338e-05], ["speedup_factor", -14.49988358556461], ["created_at", "2021-01-27 17:44:02.916040"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.8999987989664078e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.917230"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.8999987989664078e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:02.918084"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.999835699796677e-06], ["speedup_factor", -9.997672253258845], ["created_at", "2021-01-27 17:44:02.927479"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.00000761449337e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.928554"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:02.929402"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:02.938449"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.939646"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 17:44:02.940494"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:02.953138"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 17:44:02.954270"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 17:44:02.955180"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:02.961240"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.962274"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.963250"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:02.965831"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.966683"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:44:02.967421"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.499941572546959e-05], ["speedup_factor", -15.995810055865922], ["created_at", "2021-01-27 17:44:02.970939"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.5999656170606613e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.971864"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.5999656170606613e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:02.972654"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 17:44:02.986105"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.987762"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.988803"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 17:44:02.992854"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:02.994053"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:44:02.994988"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -5.666304516529567], ["created_at", "2021-01-27 17:44:03.000513"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.7000362277030945e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:03.002052"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.7000362277030945e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:03.003391"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.000255674123764e-06], ["speedup_factor", 4.00093153237075], ["created_at", "2021-01-27 17:44:03.025947"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 9.997747838497162e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:03.027563"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:03.029074"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2021-01-27 17:44:03.039808"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 17:44:03.041199"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 17:44:03.042154"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.00003045797348e-06], ["speedup_factor", -5.00093153237075], ["created_at", "2021-01-27 17:44:03.054728"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.999805241823196e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 17:44:03.056235"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.999805241823196e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 17:44:03.057308"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (13.9ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:28.399977"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.402557"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:28.404513"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.200009137392044e-05], ["speedup_factor", -7.0], ["created_at", "2021-01-27 17:44:28.437775"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.400010660290718e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.439489"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.400010660290718e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:28.440353"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.200009137392044e-05], ["speedup_factor", -13.00279459711225], ["created_at", "2021-01-27 17:44:28.468220"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.2999866157770157e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.469590"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999866157770157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:28.470446"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -8.00006091594696e-06], ["speedup_factor", -8.998137802607076], ["created_at", "2021-01-27 17:44:28.480164"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.000301361083984e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.481228"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000301361083984e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:28.482019"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 17:44:28.493415"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.494883"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:28.496060"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:28.504853"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.505935"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:28.506728"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:28.515278"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.516819"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:28.517741"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 17:44:28.527059"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.528411"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:28.529403"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:28.538573"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.539843"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:28.540718"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:28.548611"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.549790"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 17:44:28.550639"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:28.575945"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 17:44:28.577098"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 17:44:28.577911"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:44:28.586927"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 17:44:28.587998"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 17:44:28.588918"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:44:28.599049"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 17:44:28.600202"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 17:44:28.601006"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:28.609298"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.610424"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.611283"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:28.617634"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.619198"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.620078"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:28.622516"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.623451"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:44:28.624182"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.8999911844730377e-05], ["speedup_factor", -19.99534450651769], ["created_at", "2021-01-27 17:44:28.627286"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.628339"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:28.629059"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:28.640079"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.641561"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.642359"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:28.644895"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.645943"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:44:28.646721"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.6999896615743637e-05], ["created_at", "2021-01-27 17:44:28.649845"], ["control_duration", 0.0], ["candidate_duration", 1.6999896615743637e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:28.650811"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.6999896615743637e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:28.651544"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.9997900128364563e-06], ["speedup_factor", -3.9990689013035383], ["created_at", "2021-01-27 17:44:28.667351"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.668860"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.669742"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:28.678639"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.679706"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.680498"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.3ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.999805241823196e-06], ["speedup_factor", 3.49988358556461], ["created_at", "2021-01-27 17:44:28.700664"], ["control_duration", 6.9998204708099365e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 6.9998204708099365e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.703686"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.705957"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.49988358556461], ["created_at", "2021-01-27 17:44:28.748658"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.751145"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.753348"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:28.763048"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.764058"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.765097"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.999534450651769], ["created_at", "2021-01-27 17:44:28.783405"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.786081"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.787920"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.6ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.4ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.8ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:28.840373"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.843068"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.845146"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:28.855465"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.856725"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.857764"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:28.867621"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.868630"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.869573"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.333436820863086], ["created_at", "2021-01-27 17:44:28.885821"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.888897"]] LabTech::Observation Create (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.891896"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -1.666718410431543], ["created_at", "2021-01-27 17:44:28.912737"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 4.999805241823196e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.917222"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 4.999805241823196e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.919618"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:28.934392"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.935848"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.937559"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 17:44:28.959982"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.961479"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.962313"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.9995495676994324e-06], ["speedup_factor", 2.9990689013035383], ["created_at", "2021-01-27 17:44:28.982021"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.984800"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:28.986493"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.999534450651769], ["created_at", "2021-01-27 17:44:29.001078"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.003953"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.006262"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.4ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.50011641443539], ["created_at", "2021-01-27 17:44:29.028953"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.032638"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.035611"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:29.051002"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.052924"]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.054784"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.000465766185375], ["created_at", "2021-01-27 17:44:29.072549"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.075407"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.077283"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:29.090245"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.094195"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.097506"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.9997900128364563e-06], ["speedup_factor", -1.749941792782305], ["created_at", "2021-01-27 17:44:29.117504"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 6.9998204708099365e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.121874"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 6.9998204708099365e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.124439"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:29.141578"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.145363"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.148038"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 1.333436820863086], ["created_at", "2021-01-27 17:44:29.166319"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.170097"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.172867"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.4ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:44:29.223725"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.225467"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.226443"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:29.237565"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.238980"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.240042"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:29.257444"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.258603"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.259396"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -3.000255674123764e-06], ["speedup_factor", -4.00093153237075], ["created_at", "2021-01-27 17:44:29.292386"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 4.00003045797348e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.295036"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.296985"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.5ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.5ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.9995495676994324e-06], ["speedup_factor", -2.9990689013035383], ["created_at", "2021-01-27 17:44:29.338875"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.341728"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.344015"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:29.365094"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.368701"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.371130"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.49988358556461], ["created_at", "2021-01-27 17:44:29.393529"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.395230"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.396156"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -1.666873641726172], ["created_at", "2021-01-27 17:44:29.417753"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 5.000270903110504e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.419733"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 5.000270903110504e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.420752"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:29.432898"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.434703"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.435959"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 3.000255674123764e-06], ["created_at", "2021-01-27 17:44:29.472924"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.475187"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.477406"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:29.505884"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.507191"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.508220"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.50011641443539], ["created_at", "2021-01-27 17:44:29.525935"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.528254"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.529774"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.5ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2021-01-27 17:44:29.551659"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.554722"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.556658"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.000155231294629], ["created_at", "2021-01-27 17:44:29.573575"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.576455"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.578719"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.4ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.3ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.9ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2021-01-27 17:44:29.622870"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.625997"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.627617"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.49988358556461], ["created_at", "2021-01-27 17:44:29.641308"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.642677"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.643557"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["speedup_factor", 1.9995344506517692], ["created_at", "2021-01-27 17:44:29.677171"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.679701"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.681129"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.000465766185375], ["created_at", "2021-01-27 17:44:29.692653"], ["control_duration", 2.9997900128364563e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.693760"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.694557"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:29.703238"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.706783"]] LabTech::Observation Create (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.709178"]] LabTech::Experiment Update All (0.4ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.000465766185375], ["created_at", "2021-01-27 17:44:29.745617"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.9997900128364563e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.748586"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9997900128364563e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.750411"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.3ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.4ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:29.793055"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.794262"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.795389"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.50011641443539], ["created_at", "2021-01-27 17:44:29.833433"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.835871"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.838593"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -2.0999927073717117e-05], ["speedup_factor", -11.49988358556461], ["created_at", "2021-01-27 17:44:29.867826"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.2999942302703857e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.869682"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.2999942302703857e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:29.871044"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.3ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.8ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 LabTech::Result Create (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -4.5000575482845306e-05], ["speedup_factor", -12.251368028874142], ["created_at", "2021-01-27 17:44:29.898082"], ["control_duration", 3.9995647966861725e-06], ["candidate_duration", 4.900014027953148e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.9995647966861725e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.901166"]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.900014027953148e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:29.902789"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.000496119260788e-06], ["speedup_factor", -5.001397298556125], ["created_at", "2021-01-27 17:44:29.924159"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 5.000270903110504e-06]] LabTech::Observation Create (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.926260"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 5.000270903110504e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 17:44:29.927756"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.000480890274048e-06], ["speedup_factor", -3.0009315323707497], ["created_at", "2021-01-27 17:44:29.941855"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.943599"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.944915"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.2ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.000480890274048e-06], ["speedup_factor", 3.0009315323707497], ["created_at", "2021-01-27 17:44:29.959010"], ["control_duration", 3.000255674123764e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.960342"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:29.961177"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.0999850928783417e-05], ["speedup_factor", -6.49988358556461], ["created_at", "2021-01-27 17:44:36.075020"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.2999866157770157e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.077317"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999866157770157e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.078261"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.118635"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.119901"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- bar\n"], ["created_at", "2021-01-27 17:44:36.120748"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.7999671399593353e-05], ["speedup_factor", -18.99534450651769], ["created_at", "2021-01-27 17:44:36.132959"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.8999911844730377e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.134390"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.8999911844730377e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.135270"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.9997900128364563e-06], ["speedup_factor", 2.49988358556461], ["created_at", "2021-01-27 17:44:36.148675"], ["control_duration", 4.999805241823196e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.999805241823196e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.149933"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.150777"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 7.999595254659653e-06], ["speedup_factor", 8.997672253258845], ["created_at", "2021-01-27 17:44:36.164845"], ["control_duration", 8.999835699796677e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 8.999835699796677e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.166894"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.167854"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Update All (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = ?, "speedup_factor" = ? WHERE "lab_tech_results"."experiment_id" = ? [["time_delta", nil], ["speedup_factor", nil], ["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:36.179962"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.181386"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.183132"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.198228"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.199379"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.200161"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.207373"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.208369"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.209134"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.217591"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.219286"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.220131"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:36.228711"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.229796"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.230585"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.238351"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.239423"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.240234"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.259930"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.261228"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.262142"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.269534"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.270537"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.271390"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.9995495676994324e-06], ["created_at", "2021-01-27 17:44:36.278232"], ["control_duration", 1.9995495676994324e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9995495676994324e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.279196"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.279928"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.286623"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.287563"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.288251"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -4.656612873077393e-10], ["speedup_factor", -1.0004657661853749], ["created_at", "2021-01-27 17:44:36.294721"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.295630"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.296329"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 3.9995647966861725e-06], ["speedup_factor", 4.998603351955308], ["created_at", "2021-01-27 17:44:36.309494"], ["control_duration", 4.999805241823196e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.999805241823196e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.310460"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.311202"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.317676"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.318580"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.327531"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.334342"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.335204"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.335919"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.341927"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.342776"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.343481"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.349489"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.350369"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.351117"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.364412"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.365297"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.365970"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.372092"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.373026"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.373658"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.379295"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.380101"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.380743"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.386227"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.386946"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.387515"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.392289"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.393089"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.393665"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.404640"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.405439"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.406024"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:36.411163"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.412109"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.412715"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -1.50011641443539], ["created_at", "2021-01-27 17:44:36.419223"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.000255674123764e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.420084"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.000255674123764e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.420732"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.426785"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.427722"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.428384"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.434437"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.435257"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.435947"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.441775"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.442589"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.443209"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.448690"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.449500"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.450127"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.455652"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.456480"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.457084"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.462098"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.462805"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.463363"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.468210"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.468889"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.469418"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:36.474130"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.474816"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.475349"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.480064"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.480744"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.481286"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.493187"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.493926"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.494521"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-01-27 17:44:36.499412"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.500098"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.500627"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.505332"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.506069"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.506613"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.511644"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.512483"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.513089"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.518143"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.518853"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.519409"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.524347"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.525049"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.525615"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.530695"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.531462"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.532005"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["speedup_factor", 2.000465766185375], ["created_at", "2021-01-27 17:44:36.542962"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.543800"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.544390"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.556498"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.557293"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.557903"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.570202"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.571127"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.571869"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.587046"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.588272"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- foo\n"], ["created_at", "2021-01-27 17:44:36.589190"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Update (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Observation Update (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", 1], ["raised_error", 0]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.634269"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- true\n"], ["created_at", "2021-01-27 17:44:36.635477"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- true\n"], ["created_at", "2021-01-27 17:44:36.636263"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 4.656612873077393e-10], ["speedup_factor", 1.0004657661853749], ["created_at", "2021-01-27 17:44:36.644337"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-01-27 17:44:36.645338"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-01-27 17:44:36.646058"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:36.667658"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-01-27 17:44:36.668784"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-01-27 17:44:36.669600"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.2ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-01-27 17:44:36.679449"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.680848"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.681747"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.000240445137024e-06], ["created_at", "2021-01-27 17:44:36.683986"], ["control_duration", 0.0], ["candidate_duration", 1.000240445137024e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.684894"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.000240445137024e-06], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:44:36.685602"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.6999896615743637e-05], ["speedup_factor", -17.99581005586592], ["created_at", "2021-01-27 17:44:36.688655"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 1.800013706088066e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.689590"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.800013706088066e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.690295"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", 0], ["raised_error", 0]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? [["result_id", 2]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -9.997747838497162e-07], ["speedup_factor", -1.9995344506517692], ["created_at", "2021-01-27 17:44:36.704443"], ["control_duration", 1.000240445137024e-06], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.000240445137024e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.705763"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.706659"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.709389"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.710338"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :florp\n"], ["created_at", "2021-01-27 17:44:36.711060"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 2], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.9000377506017685e-05], ["speedup_factor", -20.00465766185375], ["created_at", "2021-01-27 17:44:36.714669"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.715826"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.716559"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists? (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["experiment_id", 1], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Update (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", -1.000240445137024e-06], ["speedup_factor", -2.000465766185375], ["created_at", "2021-01-27 17:44:36.726869"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 2.00001522898674e-06]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.728451"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.729367"]] LabTech::Experiment Update All (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.400010660290718e-05], ["speedup_factor", -15.003260363297624], ["created_at", "2021-01-27 17:44:36.736159"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 1.4999881386756897e-05]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.737402"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.4999881386756897e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.738213"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 1], ["raised_error", 0]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", 0], ["raised_error", 0]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" != ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.997747838497162e-07], ["created_at", "2021-01-27 17:44:36.756502"], ["control_duration", 0.0], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.757884"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:36.758700"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", 1], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.767707"], ["control_duration", 9.997747838497162e-07], ["candidate_duration", 9.997747838497162e-07]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.997747838497162e-07], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.769160"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.997747838497162e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-01-27 17:44:36.770054"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["equivalent_count", 1], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -6.00004568696022e-06], ["speedup_factor", -4.0], ["created_at", "2021-01-27 17:44:36.776992"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 8.00006091594696e-06]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.778087"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.00006091594696e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.778947"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", 1], ["time_delta", -1.400010660290718e-05], ["created_at", "2021-01-27 17:44:36.787449"], ["control_duration", 0.0], ["candidate_duration", 1.400010660290718e-05]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.789015"]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.400010660290718e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-01-27 17:44:36.790068"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["timed_out_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."name" != ? AND "lab_tech_observations"."result_id" = "lab_tech_results"."id" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", 0], ["raised_error", 1], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-01-27 17:44:36.799838"], ["control_duration", 0.0], ["candidate_duration", 0.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.801056"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:36.801875"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.808653"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.809761"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:36.810676"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-01-27 17:44:36.819021"], ["control_duration", 0.5], ["candidate_duration", 0.5]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.820524"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:36.821455"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-01-27 17:44:36.829636"], ["control_duration", 0.5], ["candidate_duration", 1.0]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.830891"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:36.831748"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 LabTech::Experiment Create (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 LabTech::Result Create (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-01-27 17:44:36.840273"], ["control_duration", 0.5], ["candidate_duration", 0.0]] LabTech::Observation Create (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-01-27 17:44:36.841678"]] LabTech::Observation Create (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-01-27 17:44:36.842567"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? [["result_id", 1], ["name", "control"]] LabTech::Experiment Update All (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + ? WHERE "lab_tech_experiments"."id" = ? [["other_error_count", 1], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" != ? ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]  (0.1ms) DROP TABLE IF EXISTS "lab_tech_experiments"  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE 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)  (0.5ms) CREATE UNIQUE INDEX "index_lab_tech_experiments_by_name" ON "lab_tech_experiments" ("name")  (0.1ms) DROP TABLE IF EXISTS "lab_tech_observations"  (0.6ms) CREATE 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)  (0.5ms) CREATE INDEX "index_lab_tech_observations_by_result_id" ON "lab_tech_observations" ("result_id")  (0.1ms) DROP TABLE IF EXISTS "lab_tech_results"  (0.6ms) CREATE 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))  (0.5ms) CREATE INDEX "index_lab_tech_results_by_exp_id_and_equivalent" ON "lab_tech_results" ("experiment_id", "equivalent")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lab_tech_results_by_exp_id_and_equivalent' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lab_tech_results_by_exp_id_and_equivalent' AND type='index'   (0.6ms) CREATE INDEX "index_lab_tech_results_by_exp_id_and_raised" ON "lab_tech_results" ("experiment_id", "raised_error")  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190815192130)  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-02-05 22:54:32.378823"], ["updated_at", "2021-02-05 22:54:32.378823"]]  (0.4ms) commit transaction ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddObservationDiffSummary (20210205225332)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddObservationDiff (20210205225332)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "lab_tech_observations" ADD "diff" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210205225332"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lab_tech_experiments_by_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lab_tech_experiments_by_name' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lab_tech_observations_by_result_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lab_tech_observations_by_result_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lab_tech_results_by_exp_id_and_raised' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lab_tech_results_by_exp_id_and_raised' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lab_tech_results_by_exp_id_and_equivalent' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lab_tech_results_by_exp_id_and_equivalent' AND type='index'   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:20.583728"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.584925"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 22:57:20.585748"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.000009645707905e-06], ["speedup_factor", -4.500003637977575], ["created_at", "2021-02-05 22:57:20.596570"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.597416"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:20.598139"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 22:57:20.614389"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.615633"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-05 22:57:20.616397"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-05 22:57:20.622693"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.623593"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 22:57:20.624338"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-05 22:57:20.630890"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.631835"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 22:57:20.632575"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:20.640081"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.641101"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 22:57:20.641928"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:20.649284"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.650249"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 22:57:20.651056"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-05 22:57:20.659299"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.660333"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 22:57:20.661157"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.09999964479357e-05], ["speedup_factor", -11.999912689173458], ["created_at", "2021-02-05 22:57:20.669711"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.200000406242907e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.670814"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:20.671698"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000017937272787e-05], ["speedup_factor", -11.000087312097092], ["created_at", "2021-02-05 22:57:20.679501"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.1000010999850929e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:20.680479"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000010999850929e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:20.681287"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000003385357559e-05], ["speedup_factor", -6.0], ["created_at", "2021-02-05 22:57:20.695803"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.200000406242907e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.696848"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:20.697775"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:20.717894"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.718953"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.719783"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.727070"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.727905"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.728635"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:20.736007"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.736850"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.737625"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:20.744640"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.745436"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.746164"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 22:57:20.752963"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.754153"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.765947"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 22:57:20.773814"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.774886"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.775771"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 22:57:20.783163"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.784138"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.784919"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.792199"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.793058"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.793796"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:20.800486"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.801256"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.801955"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.808330"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.809081"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.809785"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 22:57:20.816297"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.817052"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.817734"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:20.823944"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.824692"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.825364"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 22:57:20.831804"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.832630"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.833293"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 22:57:20.839332"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.840057"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.840721"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:20.846514"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.847150"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.847731"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 22:57:20.853124"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.853762"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.854347"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.859739"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.860372"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.860971"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.866363"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.867003"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.867602"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["created_at", "2021-02-05 22:57:20.873066"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.873726"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.874337"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 22:57:20.887390"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.888148"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.888803"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 22:57:20.909784"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.910671"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.911425"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:20.917953"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.918703"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.919372"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 22:57:20.925712"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.926483"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.927169"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0000291040323637], ["created_at", "2021-02-05 22:57:20.933625"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 3.000008291564882e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.934394"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.000008291564882e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.935174"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.941617"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.942379"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.943070"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:20.949418"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.950312"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.950982"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:20.966257"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.967114"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.967838"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 22:57:20.983366"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.984248"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:20.984990"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.001342"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.002584"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.003502"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.021841"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.022994"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.023848"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 22:57:21.031930"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.032848"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.033644"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["speedup_factor", -2.9999708963911527], ["created_at", "2021-02-05 22:57:21.052999"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999937396496534e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.053913"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.9999937396496534e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.054698"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:21.062731"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.063640"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.064430"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.071714"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.072548"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.073308"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:21.087446"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.088356"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.089122"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.095837"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.096591"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.097282"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 22:57:21.103579"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.104329"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.105011"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:21.111078"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.111821"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.112484"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:21.118706"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.119447"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.120120"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 22:57:21.133655"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.134374"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.135022"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 22:57:21.140600"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.141245"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.141835"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 22:57:21.147189"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.147825"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.148424"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:21.153888"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.154555"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.155175"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:21.160577"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.161241"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.161837"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 22:57:21.173399"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.174137"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.174765"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.188454"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.189241"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.189924"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.99998883344233e-06], ["speedup_factor", -10.999912689173458], ["created_at", "2021-02-05 22:57:21.199077"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.200018"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:21.200749"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 22:57:21.210426"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 22:57:21.211331"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-05 22:57:21.212136"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.256547"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 22:57:21.257517"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 22:57:21.258394"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 22:57:21.267669"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 22:57:21.268834"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 22:57:21.269831"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 22:57:21.278758"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 22:57:21.279728"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 22:57:21.280603"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0000291040323637], ["created_at", "2021-02-05 22:57:21.289966"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 3.000008291564882e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.291118"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000008291564882e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.291990"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 22:57:21.294628"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.295481"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 22:57:21.296297"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.09999964479357e-05], ["speedup_factor", -6.499996362022425], ["created_at", "2021-02-05 22:57:21.299504"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.2999997125007212e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.300462"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2999997125007212e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:21.301250"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.000008291564882e-06], ["speedup_factor", 4.000029104032364], ["created_at", "2021-02-05 22:57:21.312434"], ["control_duration", 4.0000013541430235e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.0000013541430235e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.313711"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.314611"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 22:57:21.317398"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.318327"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 22:57:21.319296"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["created_at", "2021-02-05 22:57:21.322913"], ["control_duration", 0.0], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.323954"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:118:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:117:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 22:57:21.324762"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999937396496534e-06], ["created_at", "2021-02-05 22:57:21.341104"], ["control_duration", 2.9999937396496534e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999937396496534e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.342293"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 22:57:21.343237"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:01:52.119521"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:01:52.120834"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:01:52.121678"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.127895"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:01:52.128833"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:01:52.129665"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:01:52.141463"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:01:52.142366"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:01:52.143137"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.0000221664085984e-06], ["speedup_factor", -1.5000145520161818], ["created_at", "2021-02-05 23:01:52.153201"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 3.000008291564882e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:01:52.154360"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.000008291564882e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:01:52.155177"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:01:52.164048"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.165032"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.165874"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:01:52.168599"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.169538"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:01:52.170285"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.99998883344233e-06], ["speedup_factor", -10.999912689173458], ["created_at", "2021-02-05 23:01:52.173507"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.174330"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.09999964479357e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.175027"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:01:52.188142"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.188933"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.189589"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:01:52.191597"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.192257"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:01:52.192852"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -3.999986802227795e-06], ["speedup_factor", -2.3333252489583285], ["created_at", "2021-02-05 23:01:52.195372"], ["control_duration", 3.000008291564882e-06], ["candidate_duration", 6.999995093792677e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.000008291564882e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.196048"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 6.999995093792677e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.196684"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999937396496534e-06], ["speedup_factor", 3.9999708963911527], ["created_at", "2021-02-05 23:01:52.212686"], ["control_duration", 4.0000013541430235e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.0000013541430235e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.213617"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.214365"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.99998121894896e-06], ["speedup_factor", -9.999912689173458], ["created_at", "2021-02-05 23:01:52.224662"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.99998883344233e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.225784"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.99998883344233e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.226625"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -4.0000013541430235e-06], ["speedup_factor", -4.999970896391153], ["created_at", "2021-02-05 23:01:52.242120"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 5.0000089686363935e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.243162"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 5.0000089686363935e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 23:01:52.243999"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", 2.6000008801929653e-05], ["speedup_factor", 3.3636379270657772], ["created_at", "2021-02-05 23:01:52.252411"], ["control_duration", 3.700000524986535e-05], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.700000524986535e-05], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.253495"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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:155:in `block (6 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.254341"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:01:52.263599"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.264675"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-05 23:01:52.265591"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.999988156370819e-06], ["speedup_factor", -8.99992724097788], ["created_at", "2021-02-05 23:01:52.270874"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 8.999995770864189e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.271884"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.999995770864189e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.272713"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-05 23:01:52.280580"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.292172"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 23:01:52.293016"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.300139"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.301127"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 23:01:52.302192"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.310103"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.311125"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 23:01:52.311954"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-05 23:01:52.320085"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.321095"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 23:01:52.321903"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-05 23:01:52.329557"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:01:52.330600"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-05 23:01:52.331524"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000003385357559e-05], ["speedup_factor", -11.00007276008091], ["created_at", "2021-02-05 23:01:52.342947"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.343954"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.344789"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000003385357559e-05], ["speedup_factor", -11.00007276008091], ["created_at", "2021-02-05 23:01:52.363888"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.364954"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:126: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-05 23:01:52.365794"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:01:52.377785"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.378925"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.379803"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:01:52.391058"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.392028"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.392998"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 23:01:52.405233"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.406241"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.407119"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:01:52.414723"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.415561"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.416339"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.000008291564882e-06], ["speedup_factor", -4.000029104032364], ["created_at", "2021-02-05 23:01:52.425384"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 4.0000013541430235e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.426528"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 4.0000013541430235e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.427400"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999937396496534e-06], ["speedup_factor", 2.4999963620224244], ["created_at", "2021-02-05 23:01:52.437516"], ["control_duration", 4.999994416721165e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 4.999994416721165e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.438737"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.439620"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-05 23:01:52.448402"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 4.0000013541430235e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.449612"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 4.0000013541430235e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.450500"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:01:52.459105"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.460083"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.460895"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 23:01:52.481157"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.482381"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.483212"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["speedup_factor", -2.9999708963911527], ["created_at", "2021-02-05 23:01:52.491069"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999937396496534e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.492015"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 2.9999937396496534e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.492830"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:01:52.500350"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.501254"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.502127"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 23:01:52.509587"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.510456"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.511243"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.200000406242907e-05], ["speedup_factor", -13.000087312097092], ["created_at", "2021-02-05 23:01:52.518194"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.2999997125007212e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.518965"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.2999997125007212e-05], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.519655"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 23:01:52.525945"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.526700"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.527381"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:01:52.533585"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.534346"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.535010"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:01:52.541200"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.541979"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.542640"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:01:52.548585"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.549262"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.549849"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:01:52.555225"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.555858"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.556429"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:01:52.561786"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.562422"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.563005"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:01:52.568430"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.569078"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.569650"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.574975"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.575625"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.576199"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:01:52.588692"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.589401"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.590014"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:01:52.595345"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.595980"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.596552"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.601788"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.602427"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.603010"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:01:52.616844"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.618170"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.619447"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:01:52.626624"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.627480"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.628246"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.000008291564882e-06], ["created_at", "2021-02-05 23:01:52.643782"], ["control_duration", 3.000008291564882e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.000008291564882e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.644770"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.645553"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:01:52.652302"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.653074"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.653770"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:01:52.660929"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.661777"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.662510"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:01:52.668938"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.669718"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.670610"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:01:52.677983"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.678755"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.679422"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:01:52.695248"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.696172"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.696920"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:01:52.704038"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.704858"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.705579"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:01:52.712625"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.713547"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.714342"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -4.000015906058252e-06], ["speedup_factor", -5.000043656048546], ["created_at", "2021-02-05 23:01:52.722470"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 5.0000089686363935e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.723793"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 5.0000089686363935e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.724809"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:01:52.737143"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.738873"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.739953"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:01:52.757496"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.758472"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.759297"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.791146"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.792160"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.792991"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.4999963620224246], ["created_at", "2021-02-05 23:01:52.811607"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 2.9999937396496534e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.812762"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999937396496534e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.813787"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:01:52.822750"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.823766"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.824621"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999937396496534e-06], ["speedup_factor", 3.9999708963911527], ["created_at", "2021-02-05 23:01:52.836383"], ["control_duration", 4.0000013541430235e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 4.0000013541430235e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.838421"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.839501"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:01:52.847751"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.848663"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.849449"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:01:52.857042"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.857939"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.858708"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:01:52.865526"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.866399"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.867118"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 23:01:52.883449"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.884421"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.885214"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:01:52.901509"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.902461"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.903238"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 3.000008291564882e-06], ["speedup_factor", 4.000029104032364], ["created_at", "2021-02-05 23:01:52.921646"], ["control_duration", 4.0000013541430235e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.0000013541430235e-06], ["value", "--- foo\n"], ["created_at", "2021-02-05 23:01:52.923021"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- bar\n"], ["created_at", "2021-02-05 23:01:52.923987"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (11.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:02:33.351077"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:02:33.353744"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:02:33.355030"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:02:33.361216"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:02:33.362273"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:02:33.363108"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:02:33.377800"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.378807"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.379682"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:02:33.392135"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:02:33.393893"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:02:33.395681"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:02:33.412891"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:02:33.414754"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:02:33.416475"]] LabTech::Observation Load (0.8ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:02:33.432977"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.434795"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.436704"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 6.999995093792677e-06], ["created_at", "2021-02-05 23:02:33.441770"], ["control_duration", 6.999995093792677e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 6.999995093792677e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.443279"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:02:33.445068"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0999981896020472e-05], ["speedup_factor", -11.999898137369033], ["created_at", "2021-02-05 23:02:33.459760"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.1999989510513842e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.460873"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.1999989510513842e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:131:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:02:33.461683"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:02:33.480821"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.481961"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.482882"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:02:33.485607"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.486528"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:02:33.487438"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.5000001187436283e-05], ["speedup_factor", -26.000174624194184], ["created_at", "2021-02-05 23:02:33.491870"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.5999994250014424e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:02:33.492873"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.5999994250014424e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:131:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:02:33.493682"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:04:48.872849"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (1.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:04:48.875451"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:04:48.877626"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:04:48.884898"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:04:48.885995"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:04:48.886839"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:04:48.918031"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:04:48.919657"]] SQL (0.8ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:04:48.921182"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:04:48.938160"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.940199"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.941954"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:04:48.946574"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.8ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.948237"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:04:48.949754"]] LabTech::Observation Load (0.4ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.8999999156221747e-05], ["speedup_factor", -19.99985448195576], ["created_at", "2021-02-05 23:04:48.955108"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.956856"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.0000006770715117e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:04:48.958231"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:04:48.990655"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.991663"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.992484"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:04:48.995005"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:48.995866"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:04:48.996642"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.000017260201275e-06], ["speedup_factor", -9.00007276008091], ["created_at", "2021-02-05 23:04:48.999855"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:49.000719"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:04:49.001493"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:04:49.019569"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:04:49.020714"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:04:49.021598"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:04:49.031083"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:04:49.032144"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:04:49.033037"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:04:49.041931"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:49.043054"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:49.043929"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:04:59.660388"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:04:59.661882"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:04:59.662750"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:04:59.669431"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.670623"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.671478"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:04:59.673935"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.674715"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:04:59.675450"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000003385357559e-05], ["created_at", "2021-02-05 23:04:59.678735"], ["control_duration", 0.0], ["candidate_duration", 1.0000003385357559e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.679530"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.0000003385357559e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:04:59.680266"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:04:59.698418"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.700102"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.701647"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:04:59.706014"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.706823"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:04:59.708231"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["created_at", "2021-02-05 23:04:59.715210"], ["control_duration", 0.0], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.716776"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:04:59.717571"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:04:59.745371"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:04:59.746958"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:04:59.748543"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:04:59.766715"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:04:59.767779"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:04:59.768642"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:04:59.788749"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:04:59.789779"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:04:59.790638"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:04:59.798886"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:04:59.799842"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:04:59.800671"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-05 23:04:59.808877"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 4.0000013541430235e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.810082"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.0000013541430235e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:04:59.810948"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:06:41.020078"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:06:41.021909"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:06:41.023140"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:06:41.051245"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.052278"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.053089"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:06:41.062615"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:06:41.063719"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:06:41.064531"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:06:41.081020"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:06:41.083130"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:06:41.084984"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.7ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:06:41.102010"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.103553"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.104396"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:06:41.110028"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.111790"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:06:41.113421"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.899998460430652e-05], ["speedup_factor", -19.99983993015134], ["created_at", "2021-02-05 23:06:41.120231"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.999999221879989e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.122088"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.999999221879989e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:142:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:06:41.123731"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.8ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:06:41.160283"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.161436"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.162423"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:06:41.165485"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.166510"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:06:41.167387"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.09999964479357e-05], ["speedup_factor", -12.00007276008091], ["created_at", "2021-02-05 23:06:41.171055"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.1999989510513842e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:06:41.172022"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.1999989510513842e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:142:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:06:41.172810"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:06:41.188989"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:06:41.190156"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:06:41.191020"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:06:41.202036"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:06:41.203068"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:06:41.203948"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:07:18.174708"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:07:18.176699"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:07:18.177848"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:07:18.204955"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:07:18.205929"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:07:18.206725"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:07:18.237332"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:07:18.239027"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:07:18.240555"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:07:18.258021"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:07:18.259971"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:07:18.262004"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:07:18.279471"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:07:18.281467"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:07:18.282895"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.4ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (2.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:07:18.302490"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.304525"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.313880"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["speedup_factor", 3.000014552016182], ["created_at", "2021-02-05 23:07:18.324131"], ["control_duration", 2.9999937396496534e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999937396496534e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.325328"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.326211"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:07:18.329027"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.330032"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:07:18.330927"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999989510513842e-05], ["speedup_factor", -12.999898137369033], ["created_at", "2021-02-05 23:07:18.334920"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.2999997125007212e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.335978"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2999997125007212e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:07:18.336810"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:07:18.357874"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.359089"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.359992"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:07:18.362835"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.363788"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:07:18.364636"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.300001167692244e-05], ["speedup_factor", -14.000101864113272], ["created_at", "2021-02-05 23:07:18.368225"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.4000004739500582e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:07:18.369115"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4000004739500582e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:07:18.369907"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:09:06.481594"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:09:06.483560"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:09:06.484742"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:09:06.510469"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:09:06.511472"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:09:06.512330"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:09:06.523216"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:09:06.524153"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:09:06.524970"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:09:06.538678"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.540657"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.542333"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:09:06.556338"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:09:06.557486"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:09:06.559155"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.8ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:09:06.584370"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.587995"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.589116"]] SQL (0.9ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:09:06.595567"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.597709"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:09:06.599408"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.3ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -3.5999983083456755e-05], ["speedup_factor", -36.99970896391152], ["created_at", "2021-02-05 23:09:06.617695"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.6999990697950125e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.619038"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.6999990697950125e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:09:06.619958"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:09:06.640489"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.641543"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.642517"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:09:06.645050"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.645895"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:09:06.646750"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["speedup_factor", -10.00007276008091], ["created_at", "2021-02-05 23:09:06.650206"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.0000003385357559e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:06.651167"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.0000003385357559e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:137:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:09:06.651982"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:09:45.838875"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:09:45.839896"]] SQL (0.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:09:45.840544"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-05 23:09:45.858199"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:09:45.858941"]] SQL (0.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:09:45.859541"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:09:45.870345"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.871099"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.871722"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.7ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:09:45.875486"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.876691"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:09:45.877275"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.99998883344233e-06], ["speedup_factor", -10.999912689173458], ["created_at", "2021-02-05 23:09:45.883580"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.884889"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.09999964479357e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:140:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:09:45.886057"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:09:45.909268"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.910602"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.911518"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:09:45.915353"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.916885"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:09:45.918282"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["created_at", "2021-02-05 23:09:45.930771"], ["control_duration", 0.0], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.931633"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:140:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:09:45.932264"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:09:45.942749"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.943526"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:09:45.944147"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:09:45.950479"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:09:45.951248"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:09:45.951883"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:09:45.957989"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:09:45.958701"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:09:45.959395"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:10:17.740474"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:10:17.742243"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:10:17.743441"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:10:17.773938"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:10:17.774998"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:10:17.775844"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:10:17.791530"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:10:17.793000"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:10:17.793882"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999861251562834e-06], ["speedup_factor", 2.9999708963911527], ["created_at", "2021-02-05 23:10:17.810673"], ["control_duration", 2.9999937396496534e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999937396496534e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:10:17.812504"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:10:17.814184"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.7ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:10:17.830157"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.831890"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.832855"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:10:17.838365"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.839762"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:10:17.840558"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.3999990187585354e-05], ["speedup_factor", -14.99988358556461], ["created_at", "2021-02-05 23:10:17.847359"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.4999997802078724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.848738"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999997802078724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:141:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:10:17.850598"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:10:17.882518"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.883590"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.884444"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:10:17.887194"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.888070"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:10:17.889073"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.999988156370819e-06], ["speedup_factor", -8.99992724097788], ["created_at", "2021-02-05 23:10:17.892501"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 8.999995770864189e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.893438"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 8.999995770864189e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:141:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:10:17.894261"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:10:17.911827"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.912922"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:10:17.913852"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:19:26.638928"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:19:26.640595"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:19:26.641693"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:23:45.895364"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:23:45.897267"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:23:45.898353"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:24:13.473740"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:24:13.474998"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:24:13.475785"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:24:22.205806"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:24:22.206953"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:24:22.207706"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:24:22.240668"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:24:22.241638"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:24:22.242416"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:24:22.262129"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:24:22.263938"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:24:22.265907"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:24:22.288073"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:24:22.289650"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:24:22.290595"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:24:22.307906"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.310049"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.311639"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:24:22.329454"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.330529"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.331404"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:24:22.333897"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.334805"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:24:22.335637"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.2999997125007212e-05], ["created_at", "2021-02-05 23:24:22.339381"], ["control_duration", 0.0], ["candidate_duration", 1.2999997125007212e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.340391"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2999997125007212e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:24:22.341262"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:24:22.357471"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.358542"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.359382"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:24:22.361845"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.362672"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:24:22.363527"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.999995770864189e-06], ["created_at", "2021-02-05 23:24:22.366816"], ["control_duration", 0.0], ["candidate_duration", 8.999995770864189e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:22.367638"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 8.999995770864189e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:24:22.368413"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:24:54.605856"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:24:54.607224"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:24:54.608074"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:24:54.645051"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:24:54.646076"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:24:54.646914"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:24:54.663225"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:24:54.665109"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:24:54.666829"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:24:54.683234"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:24:54.685455"]] SQL (0.5ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:24:54.687845"], ["diff", "this is a diff"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.9ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999861251562834e-06], ["speedup_factor", 2.9999708963911527], ["created_at", "2021-02-05 23:24:54.711685"], ["control_duration", 2.9999937396496534e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999937396496534e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:24:54.714026"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:24:54.715995"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000014552016182], ["created_at", "2021-02-05 23:24:54.750409"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.752423"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.753551"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:24:54.763690"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.764782"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.765638"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:24:54.768331"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.769444"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:24:54.770318"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.7000016416423023e-05], ["speedup_factor", -14.500101864113272], ["created_at", "2021-02-05 23:24:54.774505"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 2.9000002541579306e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.775635"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.9000002541579306e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:24:54.776661"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:24:54.793259"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.794485"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.795384"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:24:54.798120"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.799051"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:24:54.799829"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000003385357559e-05], ["created_at", "2021-02-05 23:24:54.803288"], ["control_duration", 0.0], ["candidate_duration", 1.0000003385357559e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:24:54.804211"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.0000003385357559e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:148:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:147:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:24:54.804993"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["speedup_factor", 1.9999854481955763], ["created_at", "2021-02-05 23:25:18.755844"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:25:18.757312"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:25:18.758299"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:25:18.783438"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:18.784466"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:18.785279"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:25:18.798231"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:25:18.799248"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:25:18.800076"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (1.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:25:18.812475"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:18.814592"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:18.816395"], ["diff", "this is a diff"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:25:18.835907"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:25:18.838139"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:25:18.840587"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:25:18.859351"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.863714"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.865362"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.4551915228366852e-11], ["speedup_factor", -1.0000145520161818], ["created_at", "2021-02-05 23:25:18.881424"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.883428"]] SQL (1.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.885496"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["speedup_factor", -3.000014552016182], ["created_at", "2021-02-05 23:25:18.905331"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 2.9999937396496534e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.906395"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9999937396496534e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:25:18.907238"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.9999995604157448e-05], ["speedup_factor", -31.000203728226545], ["created_at", "2021-02-05 23:25:18.911640"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 3.099998866673559e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.912785"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.099998866673559e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:25:18.913702"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:25:18.929246"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.930320"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.931283"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:25:18.933931"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.934806"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:25:18.935573"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.000009645707905e-06], ["speedup_factor", -8.000058208064727], ["created_at", "2021-02-05 23:25:18.938867"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 8.000002708286047e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:18.939742"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 8.000002708286047e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:25:18.940533"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:25:40.064762"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:25:40.066139"]] SQL (0.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:25:40.066784"]] SQL (7.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:25:40.086055"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:40.086878"]] SQL (0.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:40.087527"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:25:40.096612"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:25:40.097457"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:25:40.098099"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.7ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:25:40.108764"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:40.110140"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:40.111246"], ["diff", "THIS IS A DIFF"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:25:40.137239"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:25:40.138483"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:25:40.139713"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:25:40.160206"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.161061"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.161684"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:25:40.168177"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.168975"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.169621"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999930625781417e-07], ["created_at", "2021-02-05 23:25:40.171475"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.172116"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:25:40.172691"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.09999964479357e-05], ["speedup_factor", -11.999912689173458], ["created_at", "2021-02-05 23:25:40.175127"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.200000406242907e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.175799"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.200000406242907e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:25:40.176496"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:25:40.187630"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.188486"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.189170"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:25:40.191175"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.191848"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:25:40.192466"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["created_at", "2021-02-05 23:25:40.195201"], ["control_duration", 0.0], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:40.196028"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:25:40.196900"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.2ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:25:48.515464"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:48.516729"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:48.517593"], ["diff", "THIS IS A DIFF"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (1.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.6ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -2.0], ["created_at", "2021-02-05 23:25:56.966887"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.9999861251562834e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- true\n"], ["created_at", "2021-02-05 23:25:56.967962"]] SQL (0.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:25:56.968596"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:25:56.989122"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:56.990006"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:56.991263"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:25:57.002196"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:25:57.003107"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:25:57.003835"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:25:57.013160"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:25:57.014889"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:25:57.016465"], ["diff", "THIS IS A DIFF"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:25:57.050167"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:25:57.051907"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:25:57.052712"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:25:57.069943"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.071993"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.073797"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:25:57.092891"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.094106"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.094965"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:25:57.097738"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.098775"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:25:57.099695"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4999983250163496e-05], ["speedup_factor", -15.999869033760186], ["created_at", "2021-02-05 23:25:57.103263"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.5999990864656866e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.104312"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.5999990864656866e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:25:57.105095"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999930625781417e-07], ["speedup_factor", -1.9999854481955763], ["created_at", "2021-02-05 23:25:57.121501"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.122474"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.123268"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:25:57.125763"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.126608"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:25:57.127351"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["created_at", "2021-02-05 23:25:57.130645"], ["control_duration", 0.0], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:25:57.131610"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:25:57.132388"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:26:05.039426"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-05 23:26:05.040895"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-05 23:26:05.041769"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.0000006770715117e-06], ["created_at", "2021-02-05 23:26:05.065601"], ["control_duration", 0.0], ["candidate_duration", 2.0000006770715117e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:26:05.066746"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000006770715117e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:26:05.067629"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-05 23:26:05.080225"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-05 23:26:05.081278"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-05 23:26:05.082138"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:26:05.092987"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.8ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-05 23:26:05.094703"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-05 23:26:05.096236"], ["diff", "this is a diff"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999930625781417e-07], ["created_at", "2021-02-05 23:26:05.115510"], ["control_duration", 0.0], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-05 23:26:05.116608"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :candidate\n"], ["created_at", "2021-02-05 23:26:05.118572"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.9ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000014552016182], ["created_at", "2021-02-05 23:26:05.136519"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.138463"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.139393"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000006770715117e-06], ["created_at", "2021-02-05 23:26:05.155523"], ["control_duration", 2.0000006770715117e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.0000006770715117e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.157532"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.158410"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.4551915228366852e-11], ["speedup_factor", 1.0000145520161818], ["created_at", "2021-02-05 23:26:05.172760"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.173887"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:26:05.174698"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4000004739500582e-05], ["speedup_factor", -15.000101864113272], ["created_at", "2021-02-05 23:26:05.178220"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 1.4999997802078724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.179076"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999997802078724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:26:05.179853"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-05 23:26:05.197465"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.198597"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.199450"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-05 23:26:05.201967"], ["control_duration", 9.999930625781417e-07], ["candidate_duration", 9.999930625781417e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999930625781417e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.202892"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999930625781417e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-05 23:26:05.203959"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.99998883344233e-06], ["speedup_factor", -10.999912689173458], ["created_at", "2021-02-05 23:26:05.207867"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.09999964479357e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-05 23:26:05.208842"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.09999964479357e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `load'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/bin/rspec:23:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in '\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'\", \"/Users/sam/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.rbenv/versions/2.6.3/bin/bundle:23:in `
'\"]"], ["created_at", "2021-02-05 23:26:05.209678"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000734366476536e-06], ["speedup_factor", -3.0001746318179174], ["created_at", "2021-02-08 19:30:34.584619"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.585931"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.586824"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:30:34.596862"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.597708"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.598446"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-08 19:30:34.605214"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.606041"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.606775"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:30:34.613213"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.613977"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.614661"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.620760"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.621492"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.622151"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.628323"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.629097"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.629797"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.658306"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.659183"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.660108"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.999979864805937e-06], ["created_at", "2021-02-08 19:30:34.666876"], ["control_duration", 4.999979864805937e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 4.999979864805937e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.667650"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.668349"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-08 19:30:34.675048"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.675823"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.676520"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-08 19:30:34.683424"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.684216"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.684919"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-08 19:30:34.691963"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.692787"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.693482"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:30:34.699981"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.700744"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.701403"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:30:34.707298"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.707992"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.708606"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.999972250312567e-06], ["created_at", "2021-02-08 19:30:34.714384"], ["control_duration", 0.0], ["candidate_duration", 3.999972250312567e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.715067"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.715678"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.721251"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.721911"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.722523"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-08 19:30:34.735921"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.736701"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.737390"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.743812"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.744546"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.745205"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.751294"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.751973"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.752580"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.758372"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.759044"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.759621"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-08 19:30:34.764987"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.765624"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.766194"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-08 19:30:34.771445"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.772083"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.772657"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:30:34.777930"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.778563"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.779142"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:30:34.784492"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.785143"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.785730"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.791237"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.791885"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.792471"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:30:34.797987"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.798636"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.799219"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.811791"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.812558"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.813209"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.818750"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.819408"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.820022"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.825348"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.826033"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.826640"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:30:34.832818"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.833497"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.834104"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.839847"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.840633"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.841257"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-08 19:30:34.862743"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.863931"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.864716"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-08 19:30:34.871538"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.872326"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.873119"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-08 19:30:34.880075"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.880958"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.881686"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-08 19:30:34.888549"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.889316"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.890022"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:30:34.896363"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.897119"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.897786"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-08 19:30:34.912050"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.912815"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.913445"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["created_at", "2021-02-08 19:30:34.918844"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.919458"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.920023"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:30:34.925481"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.926138"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.926811"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:30:34.932479"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.933142"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.933720"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.939170"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.939861"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.940460"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.952750"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.953556"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.954231"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:30:34.968963"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.969800"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.970495"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:34.986388"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.987520"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:34.997190"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:35.015446"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.016400"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.017170"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:30:35.033818"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.034751"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-08 19:30:35.035530"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -3.700004890561104e-05], ["speedup_factor", -38.00192094999709], ["created_at", "2021-02-08 19:30:35.047592"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 3.7999998312443495e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.048686"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.7999998312443495e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.049570"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.999952115118504e-06], ["speedup_factor", -9.99988358556461], ["created_at", "2021-02-08 19:30:35.065894"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999959729611874e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.066931"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999959729611874e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.067733"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-08 19:30:35.079248"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.080350"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.081222"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.4999708963911524], ["created_at", "2021-02-08 19:30:35.094315"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.095595"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:30:35.096671"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:30:35.108742"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-08 19:30:35.109696"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-08 19:30:35.110473"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:30:35.120157"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.121313"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.122227"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:30:35.128588"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-08 19:30:35.129887"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-08 19:30:35.130837"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 1.5000436566838382], ["created_at", "2021-02-08 19:30:35.140449"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-08 19:30:35.141704"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-08 19:30:35.142588"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-08 19:30:35.153778"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.155345"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.156279"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 3.00002284348011e-06], ["created_at", "2021-02-08 19:30:35.159317"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.160670"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-08 19:30:35.161507"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.6000005416572094e-05], ["speedup_factor", -16.99988358556461], ["created_at", "2021-02-08 19:30:35.165415"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.166357"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.7000013031065464e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.167134"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-08 19:30:35.187009"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.188329"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.189255"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-08 19:30:35.192140"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.193073"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-08 19:30:35.193879"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -4.099996294826269e-05], ["speedup_factor", -41.99965075669383], ["created_at", "2021-02-08 19:30:35.197745"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 4.199997056275606e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.198721"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 4.199997056275606e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.199723"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:35.218511"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-08 19:30:35.219632"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-08 19:30:35.220638"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-08 19:30:35.230874"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-08 19:30:35.232076"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-08 19:30:35.232950"], ["diff", "this is a diff"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-08 19:30:35.278811"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.280353"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:30:35.281651"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.7000013031065464e-05], ["speedup_factor", -17.99988358556461], ["created_at", "2021-02-08 19:30:35.296242"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.8000020645558834e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.298501"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.8000020645558834e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.299689"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-08 19:30:35.313207"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.314681"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-08 19:30:35.315589"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.6000005416572094e-05], ["speedup_factor", -4.999970896391153], ["created_at", "2021-02-08 19:30:35.321956"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.0000035874545574e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.323175"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.0000035874545574e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.324096"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.6000063624233007e-05], ["speedup_factor", -17.000873159089586], ["created_at", "2021-02-08 19:30:35.333819"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.334987"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000013031065464e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:30:35.335865"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:30:35.344532"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.345511"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:30:35.346733"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-08 19:30:35.357073"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.358310"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:30:35.359201"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-08 19:30:35.368309"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.369540"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:30:35.370435"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:35.379053"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.380479"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:30:35.381440"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:30:35.391093"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:30:35.392339"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:30:35.393248"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:38:20.748722"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-02-08 19:38:20.750088"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-08 19:38:20.750962"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:38:20.757047"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.757979"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.758799"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:20.761154"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.761987"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-08 19:38:20.762732"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["created_at", "2021-02-08 19:38:20.766019"], ["control_duration", 0.0], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.766930"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:20.767663"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:38:20.782623"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.783589"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.784384"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:38:20.786967"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.787741"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-08 19:38:20.788424"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -4.999979864805937e-06], ["speedup_factor", -5.999941792782305], ["created_at", "2021-02-08 19:38:20.791437"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 5.999987479299307e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.792200"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 5.999987479299307e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:20.792874"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-08 19:38:20.807669"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-08 19:38:20.808581"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-08 19:38:20.809342"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:20.818941"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-08 19:38:20.819927"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-08 19:38:20.820795"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-08 19:38:20.828745"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.829678"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.830452"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 3.00002284348011e-06], ["speedup_factor", 4.0], ["created_at", "2021-02-08 19:38:20.837951"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- :control\n"], ["created_at", "2021-02-08 19:38:20.838979"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-08 19:38:20.839873"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-08 19:38:20.848981"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :control\n"], ["created_at", "2021-02-08 19:38:20.849966"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-08 19:38:20.850783"], ["diff", "this is a diff"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:38:20.865613"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.866841"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:38:20.867774"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.999959729611874e-06], ["speedup_factor", -10.99988358556461], ["created_at", "2021-02-08 19:38:20.875846"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.0999967344105244e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.876819"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999967344105244e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:20.877634"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:20.888075"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.889137"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:38:20.889975"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:20.897619"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.898681"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:38:20.899551"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:38:20.907098"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.908177"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:38:20.920941"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-08 19:38:20.929257"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.930335"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:38:20.931255"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-08 19:38:20.939800"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.940838"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-08 19:38:20.941671"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000017937272787e-05], ["speedup_factor", -10.999941792782305], ["created_at", "2021-02-08 19:38:20.949888"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.1000025551766157e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.950921"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000025551766157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:20.951825"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-08 19:38:20.966122"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.967787"]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-08 19:38:20.970060"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.999997766688466e-05], ["speedup_factor", -20.999825378346916], ["created_at", "2021-02-08 19:38:20.983530"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.099998528137803e-05]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-08 19:38:20.985076"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.099998528137803e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:20.986993"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-08 19:38:21.012633"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.013953"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-08 19:38:21.014942"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.400000812485814e-05], ["speedup_factor", -6.999956344586729], ["created_at", "2021-02-08 19:38:21.038524"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.800003858283162e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.040057"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.800003858283162e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:21.041031"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-08 19:38:21.055368"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.056489"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.057418"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 1.9999708963911524], ["created_at", "2021-02-08 19:38:21.073605"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.074969"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.076036"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4999997802078724e-05], ["speedup_factor", -8.499941792782305], ["created_at", "2021-02-08 19:38:21.092112"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.093572"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000013031065464e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-08 19:38:21.094913"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -1.5], ["created_at", "2021-02-08 19:38:21.112868"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.114076"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.115056"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.123636"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.124527"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.125319"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.4999708963911524], ["created_at", "2021-02-08 19:38:21.134843"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.136047"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.136907"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-08 19:38:21.161378"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.162705"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.163582"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-08 19:38:21.176209"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.177590"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.178594"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.187393"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.188310"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.189133"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:38:21.197872"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.198874"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.199714"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:38:21.207655"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.208616"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.209463"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-08 19:38:21.217847"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.219037"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.220056"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:38:21.228001"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.229144"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.229985"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:38:21.237245"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.238090"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.238855"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.246170"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.247071"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.247845"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-08 19:38:21.255556"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.256474"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.257263"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-08 19:38:21.264385"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.265354"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.266536"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-08 19:38:21.274362"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.275188"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.275946"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-08 19:38:21.282920"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.283686"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.284371"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:38:21.291049"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.291837"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.292554"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:38:21.300903"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.301801"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.302565"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-08 19:38:21.309557"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.310418"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.311169"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-08 19:38:21.334533"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.335661"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.336622"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:38:21.357744"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.358800"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.359669"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-08 19:38:21.369087"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.370528"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.371527"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:38:21.381098"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.382049"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.382855"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-08 19:38:21.390866"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.391841"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.392706"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.401484"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.402399"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.403199"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.410485"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.411328"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.412092"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:38:21.428070"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.428989"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.429771"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.446303"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.447243"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.448012"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-08 19:38:21.464296"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.465425"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.466526"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-08 19:38:21.499226"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.500365"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.501243"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-08 19:38:21.509867"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.510903"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.511779"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-08 19:38:21.519978"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.520884"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.521701"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.529267"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.530174"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.530991"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-08 19:38:21.538264"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.539102"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.539868"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:38:21.554039"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.554993"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.555743"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.562329"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.563235"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.563953"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.570803"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.571590"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.572275"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.578652"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.579443"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.580109"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-08 19:38:21.586338"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.587132"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.587820"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-08 19:38:21.601868"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.602625"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.603266"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:38:21.608950"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.609564"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.610141"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-08 19:38:21.615376"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.616049"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.616665"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:38:21.622660"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.623324"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.623909"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-08 19:38:21.629629"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.630411"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-08 19:38:21.631006"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:15:57.406648"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.408053"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:15:57.409027"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.00006853044033e-06], ["speedup_factor", -5.500130970051515], ["created_at", "2021-02-09 18:15:57.447259"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.1000025551766157e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.448550"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000025551766157e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:57.449648"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1000025551766157e-05], ["speedup_factor", -11.999941792782305], ["created_at", "2021-02-09 18:15:57.463467"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.2000033166259527e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.464586"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2000033166259527e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:57.465490"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:15:57.477273"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.478341"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.479942"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.9ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.999987479299307e-06], ["speedup_factor", 6.999941792782305], ["created_at", "2021-02-09 18:15:57.533909"], ["control_duration", 6.999995093792677e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 6.999995093792677e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.535793"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.537647"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.9ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-09 18:15:57.572096"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.573169"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.574031"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-09 18:15:57.593871"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.594975"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.595872"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:15:57.603814"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.604745"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.605706"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:15:57.613741"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.614693"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.615528"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:15:57.622894"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.623809"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.624608"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:15:57.632395"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.633424"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.634253"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.00002284348011e-06], ["speedup_factor", -4.0], ["created_at", "2021-02-09 18:15:57.643084"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.644165"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.644989"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:15:57.653523"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.654652"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.655630"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:15:57.665408"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.666445"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.667444"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.999972250312567e-06], ["speedup_factor", -4.999941792782305], ["created_at", "2021-02-09 18:15:57.676508"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 4.999979864805937e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.677522"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 4.999979864805937e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.678480"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:15:57.686769"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.687721"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.688588"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.00002284348011e-06], ["speedup_factor", -4.0], ["created_at", "2021-02-09 18:15:57.697727"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.698800"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.699760"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:15:57.708797"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.709882"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.711167"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["speedup_factor", 1.7500109140121365], ["created_at", "2021-02-09 18:15:57.720628"], ["control_duration", 6.999995093792677e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 6.999995093792677e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.721673"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.722667"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:15:57.731523"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.732683"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.733583"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.999972250312567e-06], ["created_at", "2021-02-09 18:15:57.742592"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.743685"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.744564"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:15:57.766660"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.767560"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.768363"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:15:57.776716"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.778071"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.778947"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:15:57.787746"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.788701"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.789512"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["speedup_factor", 2.5], ["created_at", "2021-02-09 18:15:57.799583"], ["control_duration", 5.00003807246685e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 5.00003807246685e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.800669"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.801534"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:15:57.822271"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.823476"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.824380"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.0000734366476536e-06], ["speedup_factor", -3.0001746318179174], ["created_at", "2021-02-09 18:15:57.845612"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.846758"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.847637"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:15:57.855295"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.856184"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.856997"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 2.4999708963911527], ["created_at", "2021-02-09 18:15:57.867336"], ["control_duration", 4.999979864805937e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 4.999979864805937e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.868438"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.869286"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 4.00003045797348e-06], ["speedup_factor", 5.0], ["created_at", "2021-02-09 18:15:57.878292"], ["control_duration", 5.00003807246685e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 5.00003807246685e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.879479"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.880350"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:15:57.888640"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.889564"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.890390"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:15:57.910710"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.912212"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.913465"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:15:57.922612"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.923639"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.924556"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:15:57.932524"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.933393"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.934280"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:15:57.943215"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.945170"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.946410"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["created_at", "2021-02-09 18:15:57.969665"], ["control_duration", 0.0], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.971378"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.972308"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.00002284348011e-06], ["speedup_factor", -4.000174631817917], ["created_at", "2021-02-09 18:15:57.993435"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 3.999972250312567e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.995031"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:57.996143"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:15:58.006631"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.007672"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.008533"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:15:58.016376"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.017268"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.018056"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:15:58.026258"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.027798"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.028777"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:15:58.037945"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.038973"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.039818"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:15:58.064658"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.066235"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.067242"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:15:58.076204"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.077303"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.078183"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:15:58.087575"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.088869"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.089906"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:15:58.098567"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.099463"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.100245"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:15:58.107535"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.108759"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.110135"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.00002284348011e-06], ["created_at", "2021-02-09 18:15:58.119918"], ["control_duration", 0.0], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.120956"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.121889"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:15:58.144956"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.146761"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.148010"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:15:58.163330"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.165178"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:15:58.166251"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:15:58.199108"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.200594"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:15:58.201521"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.400000812485814e-05], ["speedup_factor", -9.000097013911795], ["created_at", "2021-02-09 18:15:58.213117"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 2.6999972760677338e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.214911"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.6999972760677338e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:58.216009"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.3999990187585354e-05], ["speedup_factor", -5.66662786185487], ["created_at", "2021-02-09 18:15:58.229905"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.231500"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000013031065464e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:58.232565"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:15:58.243449"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.245342"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:15:58.246425"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:15:58.256603"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.258118"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:15:58.259138"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:15:58.267903"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.268923"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:15:58.269773"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:15:58.280901"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.282576"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:15:58.283892"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:15:58.295108"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.297658"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:15:58.299391"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:15:58.310595"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.312036"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:15:58.313000"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.6000005416572094e-05], ["speedup_factor", -6.333294528521536], ["created_at", "2021-02-09 18:15:58.323425"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.9000028260052204e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.324809"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9000028260052204e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:58.325741"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:15:58.368949"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:15:58.370241"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:15:58.371212"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["created_at", "2021-02-09 18:15:58.378209"], ["control_duration", 0.0], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.380330"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.381883"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:15:58.386055"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.387170"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:15:58.388079"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.099998528137803e-05], ["speedup_factor", -21.999825378346916], ["created_at", "2021-02-09 18:15:58.392446"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.19999928958714e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.393952"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.19999928958714e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:58.394915"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:15:58.415547"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.416729"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.417542"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:15:58.420057"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.420883"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:15:58.421617"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -4.999979864805937e-06], ["speedup_factor", -5.999941792782305], ["created_at", "2021-02-09 18:15:58.424951"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 5.999987479299307e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.426363"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 5.999987479299307e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:15:58.427458"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.2ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:15:58.459718"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:15:58.461618"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:15:58.463268"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:15:58.475340"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:15:58.476572"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:15:58.477531"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:15:58.486314"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:15:58.487261"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:15:58.488082"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:15:58.500621"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:15:58.501918"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:15:58.502800"], ["diff", "this is a diff"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["created_at", "2021-02-09 18:15:58.516119"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.517606"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:15:58.518669"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000291044558922], ["created_at", "2021-02-09 18:16:21.625102"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.626479"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:21.627371"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.2999982573091984e-05], ["created_at", "2021-02-09 18:16:21.638966"], ["control_duration", 0.0], ["candidate_duration", 1.2999982573091984e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.640127"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2999982573091984e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:21.640963"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.000002708286047e-06], ["speedup_factor", -8.999941792782305], ["created_at", "2021-02-09 18:16:21.665977"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.667056"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:21.667911"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.999959729611874e-06], ["speedup_factor", -10.99988358556461], ["created_at", "2021-02-09 18:16:21.677132"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.0999967344105244e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.678138"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0999967344105244e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:21.678981"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:21.688501"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (1.0ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.689707"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:16:21.691452"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:16:21.702645"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.704035"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:21.705427"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:21.721236"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.722420"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:21.723853"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:16:21.739357"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.741631"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:21.743625"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (10.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:21.758385"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.770051"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:21.771088"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:21.779371"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.780475"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:21.781330"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:21.795223"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:16:21.796523"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:16:21.797628"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:21.804319"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:16:21.805517"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:16:21.806449"], ["diff", "this is a diff"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:16:21.817256"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:16:21.818602"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:16:21.819602"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 1.6666472642607684], ["created_at", "2021-02-09 18:16:21.829699"], ["control_duration", 4.999979864805937e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.999979864805937e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.830818"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.831717"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:21.839529"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.840663"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.841601"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:16:21.844574"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.845467"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:16:21.846288"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.19999928958714e-05], ["speedup_factor", -22.999825378346916], ["created_at", "2021-02-09 18:16:21.850093"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.300000051036477e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.851161"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.300000051036477e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:21.852011"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:21.868759"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.869998"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.870898"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:21.873672"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.874543"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:16:21.875323"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.799996243789792e-05], ["speedup_factor", -6.999941792782305], ["created_at", "2021-02-09 18:16:21.879743"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 2.099998528137803e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:21.881111"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.099998528137803e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:21.882012"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:16:21.894210"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:16:21.895471"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:16:21.896646"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:16:21.908792"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:16:21.910407"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:16:21.911505"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:16:21.924320"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:21.925537"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:21.926556"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:16:21.956949"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:21.958143"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:21.959064"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 1.9999805975941016], ["created_at", "2021-02-09 18:16:21.984837"], ["control_duration", 5.999987479299307e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 5.999987479299307e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.004858"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.006414"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:16:22.029378"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.7ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.030687"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.032479"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:22.042360"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.043522"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.044493"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 1.5000436566838382], ["created_at", "2021-02-09 18:16:22.055923"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.057097"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.058041"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.00002284348011e-06], ["speedup_factor", -4.0], ["created_at", "2021-02-09 18:16:22.068561"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.069867"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.070882"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 1.5000436566838382], ["created_at", "2021-02-09 18:16:22.079920"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.080918"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.081775"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000734366476536e-06], ["speedup_factor", 2.0000582089117844], ["created_at", "2021-02-09 18:16:22.092378"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.093448"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.094442"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:22.115065"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.116464"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.117416"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:22.125629"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.126614"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.127689"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:16:22.137067"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.138166"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.139174"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000734366476536e-06], ["speedup_factor", 3.0001746318179174], ["created_at", "2021-02-09 18:16:22.148289"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.149848"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.150946"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 1.5], ["created_at", "2021-02-09 18:16:22.160015"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.161097"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.162051"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:16:22.181088"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.182174"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.183034"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:16:22.190813"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.191687"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.192473"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:16:22.216833"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.218317"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.219236"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:22.228099"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.229210"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.230586"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:16:22.239975"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.240943"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.241762"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.0000810511410236e-06], ["speedup_factor", -4.000232842423889], ["created_at", "2021-02-09 18:16:22.263789"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.265046"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.265908"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:22.273373"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.274227"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.274998"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -1.5000436566838382], ["created_at", "2021-02-09 18:16:22.284622"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.285645"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.286552"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:22.295034"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.296425"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.297601"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:22.306895"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.307938"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.308884"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:16:22.329233"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.330556"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.331756"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:16:22.341761"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.342797"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.343662"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-09 18:16:22.351317"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.352186"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.352987"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:22.361053"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.362631"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.363721"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:22.372630"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.373563"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.374439"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:22.384569"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.385652"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.386510"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 1.9999708963911524], ["created_at", "2021-02-09 18:16:22.395050"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.396255"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.397672"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:16:22.408676"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.426397"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.428254"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:22.438091"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.439138"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.440267"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:16:22.448744"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.449675"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.450463"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:16:22.458033"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.458941"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.459847"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:16:22.467502"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.468420"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.469234"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:16:22.476893"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.477782"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.478570"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:16:22.485710"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.486527"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.487254"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:22.494430"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.495301"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.496052"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:16:22.503186"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.504001"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.504735"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-09 18:16:22.511475"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.512288"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.512984"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:22.519592"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.520390"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.521094"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:22.528772"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.529829"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.530661"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:22.547670"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.548640"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.549438"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.00006853044033e-06], ["speedup_factor", -10.000523895453751], ["created_at", "2021-02-09 18:16:22.566286"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.0000017937272787e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.567250"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0000017937272787e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:22.568036"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:22.581588"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.582497"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.583239"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-09 18:16:22.600699"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.601652"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.602457"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.000002708286047e-06], ["speedup_factor", -8.999941792782305], ["created_at", "2021-02-09 18:16:22.613044"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.613952"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:22.614703"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:22.625019"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:22.625924"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:16:22.626677"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:16:39.802178"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.803725"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:39.804621"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.2999982573091984e-05], ["speedup_factor", -13.99988358556461], ["created_at", "2021-02-09 18:16:39.814970"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.3999990187585354e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.816078"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.3999990187585354e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:39.816968"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:16:39.834323"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.835582"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:16:39.836453"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:16:39.841808"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.842728"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:39.843515"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:16:39.851351"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.852589"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:39.853423"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:39.861548"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.862623"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:39.863462"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:39.871763"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.872938"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:39.873804"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:39.882336"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.883373"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:16:39.884210"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -1.0384618828860293], ["created_at", "2021-02-09 18:16:39.892979"], ["control_duration", 2.5999965146183968e-05], ["candidate_duration", 2.6999972760677338e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.5999965146183968e-05], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.894558"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.6999972760677338e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:39.895548"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.999959729611874e-06], ["speedup_factor", -5.999941792782305], ["created_at", "2021-02-09 18:16:39.906176"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.1999974958598614e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.907268"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1999974958598614e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:39.908143"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:39.922353"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:16:39.923462"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:16:39.924326"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:16:39.930533"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:16:39.931820"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:16:39.933124"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.9999646358191967e-06], ["created_at", "2021-02-09 18:16:39.946189"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:16:39.947622"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:16:39.948619"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:39.963008"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.964343"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.965287"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:16:39.979094"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.980333"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:16:39.981153"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.1000043489038944e-05], ["speedup_factor", -11.500247387875083], ["created_at", "2021-02-09 18:16:39.986039"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 2.300000051036477e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:39.987382"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.300000051036477e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:39.988430"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.003782"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:40.005283"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:40.006321"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:16:40.009444"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:40.010487"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:16:40.011443"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.3999990187585354e-05], ["speedup_factor", -14.99988358556461], ["created_at", "2021-02-09 18:16:40.015815"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.4999997802078724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:40.016833"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999997802078724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:40.017782"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:40.033871"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:16:40.035033"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:16:40.036164"], ["diff", "this is a diff"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:40.046879"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:16:40.048183"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:16:40.049122"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["created_at", "2021-02-09 18:16:40.058764"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:40.059811"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:16:40.060704"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.2ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:16:40.071660"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.072816"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:16:40.073717"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.999997766688466e-05], ["speedup_factor", -10.999912689173458], ["created_at", "2021-02-09 18:16:40.096490"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.19999928958714e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.098242"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.19999928958714e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:40.099641"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:16:40.122009"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.123398"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.124369"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:40.146754"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.148896"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.150190"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:40.159590"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.160608"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.161678"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:40.172185"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.173204"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.174112"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:16:40.183134"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.184685"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.185942"]] SQL (0.3ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:40.212213"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.213337"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.214232"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:16:40.222097"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.222961"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.223745"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:16:40.246267"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.248455"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.249766"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:16:40.259499"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.260637"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.261618"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:40.273170"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.274308"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.275185"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:40.284201"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.285706"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.286814"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:40.296407"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.297476"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.298349"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.306256"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.307263"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.308079"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 1.5], ["created_at", "2021-02-09 18:16:40.318563"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.319646"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.320447"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:40.329470"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.330944"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.332046"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.4999708963911524], ["created_at", "2021-02-09 18:16:40.342507"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.343724"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.344750"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:16:40.359185"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.360465"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.361427"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.369874"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.370795"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.371618"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 1.5000436566838382], ["created_at", "2021-02-09 18:16:40.380316"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.381557"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.382573"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.4999708963911524], ["created_at", "2021-02-09 18:16:40.391720"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.392888"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.393840"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 1.5], ["created_at", "2021-02-09 18:16:40.422425"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.423555"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.424467"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 1.5], ["created_at", "2021-02-09 18:16:40.433402"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.434594"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.435595"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.4999708963911524], ["created_at", "2021-02-09 18:16:40.445995"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.447092"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.447956"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.456169"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.457108"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.457907"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:16:40.470348"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.471478"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.472503"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -1.9999708963911524], ["created_at", "2021-02-09 18:16:40.482268"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.484139"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.485332"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["speedup_factor", 2.500043656683838], ["created_at", "2021-02-09 18:16:40.511486"], ["control_duration", 4.999979864805937e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.999979864805937e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.513204"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.514359"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 1.9999708963911524], ["created_at", "2021-02-09 18:16:40.538233"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.540109"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.541260"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:16:40.551420"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.552412"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.553258"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.561592"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.562579"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.563409"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.571248"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.572160"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.572926"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:16:40.580178"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.581024"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.581756"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:16:40.605706"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.606748"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.607539"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:16:40.614736"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.615570"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.616273"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.623094"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.623939"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.624786"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.634079"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.635326"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.636205"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.645339"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.646521"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.647462"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:16:40.662652"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.663648"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.664435"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.4999708963911524], ["created_at", "2021-02-09 18:16:40.671506"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.672318"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.673021"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:16:40.679744"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.680537"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.681240"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:16:40.688684"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.689577"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.690311"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:16:40.697466"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.698381"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.699178"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:16:40.716020"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.716922"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.717649"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:40.737467"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.4ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.740530"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.742639"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:16:40.783699"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.785474"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.786570"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:16:40.802585"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.804768"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.805964"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.499993959441781e-05], ["speedup_factor", -8.499912689173458], ["created_at", "2021-02-09 18:16:40.822107"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.699995482340455e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:16:40.823538"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.699995482340455e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:16:40.824530"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:17:23.594755"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.603055"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.603860"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:17:23.627118"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.628000"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.628731"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.638624"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.639516"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.640271"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-09 18:17:23.648843"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.649722"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.650490"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:17:23.657309"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.658251"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.659087"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:17:23.665952"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.666741"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.667439"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:23.673932"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.674730"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.675417"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:17:23.682001"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.682899"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.683604"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:17:23.690945"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.691855"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.692667"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:17:23.700821"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.701684"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.702404"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:17:23.709609"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.710540"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.711293"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:17:23.718724"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.719572"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.720317"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-09 18:17:23.727540"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.728534"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.729308"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.736652"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.737492"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.738257"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.745201"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.745999"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.746707"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:17:23.755462"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.756434"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.757220"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:23.775752"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.776735"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.777563"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.784909"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.785806"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.786603"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:17:23.793615"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.794430"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.795147"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -1.5], ["created_at", "2021-02-09 18:17:23.804009"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.805031"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.805836"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.812917"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.813797"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.814608"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.832992"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.834255"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.835121"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:17:23.843886"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.844873"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.845722"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.00002284348011e-06], ["created_at", "2021-02-09 18:17:23.854351"], ["control_duration", 0.0], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.855354"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.856424"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:23.863835"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.865128"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.866379"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 1.5], ["created_at", "2021-02-09 18:17:23.874309"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.875253"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.876082"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.7000013031065464e-05], ["speedup_factor", 17.99988358556461], ["created_at", "2021-02-09 18:17:23.884463"], ["control_duration", 1.8000020645558834e-05], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.8000020645558834e-05], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.886142"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.887043"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:17:23.909617"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.911472"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.913082"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:17:23.935196"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.936841"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.938017"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:17:23.967301"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.968601"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.969512"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:17:23.978603"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.979547"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.980516"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:23.988625"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.989517"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.990311"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:17:23.998138"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:23.999773"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.000691"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:17:24.023322"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.024555"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.025462"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:24.034183"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.035309"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.036240"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:17:24.046691"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.048391"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.049394"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:17:24.060124"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.061477"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.062383"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:24.071057"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.071989"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.072759"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:17:24.091968"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.093219"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.094133"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:24.107084"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.108277"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.109193"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:17:24.118668"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.120059"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.121085"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:17:24.130598"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.131690"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.132683"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -1.5000436566838382], ["created_at", "2021-02-09 18:17:24.143009"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.144279"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.145166"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:17:24.177374"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.178590"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.179520"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000734366476536e-06], ["speedup_factor", 3.0001746318179174], ["created_at", "2021-02-09 18:17:24.205678"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.207131"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.208117"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -2.4999708963911527], ["created_at", "2021-02-09 18:17:24.230099"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 4.999979864805937e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.231425"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.999979864805937e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.232458"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.799996243789792e-05], ["speedup_factor", -5.499956344586729], ["created_at", "2021-02-09 18:17:24.260819"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 2.19999928958714e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.262231"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.19999928958714e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.263176"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.6000005416572094e-05], ["speedup_factor", -16.99988358556461], ["created_at", "2021-02-09 18:17:24.278928"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.280222"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000013031065464e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.281169"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.9999646358191967e-06], ["speedup_factor", -3.999941792782305], ["created_at", "2021-02-09 18:17:24.298346"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.999972250312567e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:17:24.299800"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:17:24.300869"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.7000013031065464e-05], ["created_at", "2021-02-09 18:17:24.342292"], ["control_duration", 0.0], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.343677"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000013031065464e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.344597"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:17:24.366461"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.368083"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:17:24.369251"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:17:24.381932"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.383441"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:17:24.384508"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -2.400000812485814e-05], ["speedup_factor", -9.000097013911795], ["created_at", "2021-02-09 18:17:24.408145"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 2.6999972760677338e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.409387"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.6999972760677338e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.410310"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:24.424193"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.425669"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:17:24.426659"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:24.439025"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.442389"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:17:24.443591"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:24.458029"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.460568"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:17:24.462015"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:17:24.471881"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.472859"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:17:24.473677"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:17:24.480848"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.483045"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:17:24.484846"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.6000005416572094e-05], ["speedup_factor", -16.99988358556461], ["created_at", "2021-02-09 18:17:24.495005"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.7000013031065464e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.496376"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.7000013031065464e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.497472"]] LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:17:24.518811"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:17:24.520850"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:17:24.522384"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:24.530146"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:17:24.531333"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:17:24.532234"], ["diff", "this is a diff"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:17:24.541220"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:17:24.542245"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:17:24.543070"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["speedup_factor", 3.999941792782305], ["created_at", "2021-02-09 18:17:24.556006"], ["control_duration", 3.999972250312567e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.999972250312567e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.557565"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.558526"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:17:24.561873"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.562982"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:17:24.563860"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -5.9999991208314896e-05], ["speedup_factor", -21.000232833388306], ["created_at", "2021-02-09 18:17:24.570502"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 6.299995584413409e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.572010"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 6.299995584413409e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.572955"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:17:24.586870"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.588850"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.590131"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:17:24.594198"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.595288"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:17:24.596134"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4000048395246267e-05], ["speedup_factor", -15.00075673787764], ["created_at", "2021-02-09 18:17:24.600577"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.4999997802078724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.601725"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999997802078724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:150:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:149:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:17:24.602594"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:17:24.620077"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:17:24.621654"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:17:24.622678"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:17:24.634841"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:17:24.638042"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:17:24.639703"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-09 18:17:24.653021"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.3ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.654843"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:17:24.657191"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.292138"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.293282"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:18:59.294082"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -6.999995093792677e-06], ["speedup_factor", -7.999941792782305], ["created_at", "2021-02-09 18:18:59.315382"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 8.000002708286047e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.316147"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.000002708286047e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:18:59.316771"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.000002708286047e-06], ["speedup_factor", -8.999941792782305], ["created_at", "2021-02-09 18:18:59.325157"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.325900"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:18:59.326542"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:18:59.340305"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.341387"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.342174"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.351734"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.352610"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.353339"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["speedup_factor", 4.0], ["created_at", "2021-02-09 18:18:59.365101"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.366504"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.367434"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.2ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:18:59.380471"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.381527"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.382332"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.199988358556461], ["created_at", "2021-02-09 18:18:59.392302"], ["control_duration", 5.999987479299307e-06], ["candidate_duration", 5.00003807246685e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 5.999987479299307e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.393485"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 5.00003807246685e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.394379"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.403277"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.404505"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.405922"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:18:59.417651"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.419028"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.425800"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:18:59.433529"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.434435"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.435246"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.454340"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.455337"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.456182"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:18:59.474091"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.475100"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.475927"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -3.0000810511410236e-06], ["speedup_factor", -4.000232842423889], ["created_at", "2021-02-09 18:18:59.498527"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 4.00003045797348e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.499612"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.500461"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.518903"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.519917"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.520750"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.538393"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.539426"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.540286"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:18:59.549215"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.550122"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.555442"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:18:59.563512"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.564444"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.565212"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:18:59.572655"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.573517"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.574365"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:18:59.581216"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.582003"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.582701"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:18:59.597642"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.598471"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.599178"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.605515"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.606286"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.606965"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.618000"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.618792"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.619481"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.625866"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.626628"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.627312"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["created_at", "2021-02-09 18:18:59.633522"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.634268"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.634919"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-09 18:18:59.656061"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.657631"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.659051"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:18:59.670995"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.672476"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.673700"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:18:59.687700"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.689268"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.690187"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:18:59.706517"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.707316"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.708036"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.714533"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.715312"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.715989"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.731304"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.732219"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.732969"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:18:59.739318"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.740066"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.740852"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-09 18:18:59.747341"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.748110"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.748804"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.755312"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.756042"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.756704"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.767050"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.767798"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.768470"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:18:59.774840"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.775593"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.776267"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.782417"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.783158"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.783844"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.790029"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.790783"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.791476"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:18:59.797522"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.798168"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.798731"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.803780"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.804395"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.804951"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.810110"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.810715"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.811273"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.819286"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.819883"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.820427"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.825497"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.826103"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.826651"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.831825"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.832433"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.832978"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["created_at", "2021-02-09 18:18:59.838068"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.838685"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.839244"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.844349"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.844956"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.845517"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.850558"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.851164"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.851722"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.856846"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.857472"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.858041"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:18:59.866547"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.867222"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:18:59.867786"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -6.999995093792677e-06], ["speedup_factor", -7.999941792782305], ["created_at", "2021-02-09 18:18:59.883454"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 8.000002708286047e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.884208"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 8.000002708286047e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:18:59.884854"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:18:59.895954"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.896899"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:18:59.897555"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.903271"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.903998"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:18:59.904605"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:18:59.908681"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.909557"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:18:59.910252"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:18:59.916138"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.916945"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:18:59.921461"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.928571"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.929516"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:18:59.930258"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:18:59.937796"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.938676"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:18:59.939409"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:18:59.946708"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.948004"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:18:59.948859"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000017937272787e-05], ["speedup_factor", -10.999941792782305], ["created_at", "2021-02-09 18:18:59.958998"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.1000025551766157e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.960719"]] SQL (0.9ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000025551766157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:18:59.962280"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.3ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["speedup_factor", -9.999941792782305], ["created_at", "2021-02-09 18:18:59.980493"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.0000017937272787e-05]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:18:59.982455"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0000017937272787e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:18:59.984170"]] LabTech::Observation Load (0.9ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:19:00.045789"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:19:00.047028"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:19:00.048000"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:19:00.057921"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:19:00.059355"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:19:00.060252"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 2.00001522898674e-06], ["speedup_factor", 3.0], ["created_at", "2021-02-09 18:19:00.069203"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:19:00.070268"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:19:00.071168"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:00.080762"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.082066"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.082984"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:19:00.089429"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.090490"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.091351"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:19:00.093927"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.094943"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:19:00.095817"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.999997766688466e-05], ["speedup_factor", -20.999825378346916], ["created_at", "2021-02-09 18:19:00.100083"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.099998528137803e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.101127"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.099998528137803e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:154:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:153:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:00.101984"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:19:00.112148"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.113083"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.113902"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-09 18:19:00.116239"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.117049"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:19:00.117796"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -6.999995093792677e-06], ["speedup_factor", -7.999941792782305], ["created_at", "2021-02-09 18:19:00.121381"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 8.000002708286047e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:00.122511"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 8.000002708286047e-06], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:154:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:153:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:00.123352"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -3.00002284348011e-06], ["speedup_factor", -2.5], ["created_at", "2021-02-09 18:19:00.143827"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 5.00003807246685e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:19:00.145205"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 5.00003807246685e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:19:00.146152"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:16.719125"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.720364"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.721146"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:16.743287"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.744183"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.744931"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000017937272787e-05], ["speedup_factor", -5.999970896391153], ["created_at", "2021-02-09 18:19:16.762238"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.2000033166259527e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.763277"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.2000033166259527e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:16.764058"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -7.999944500625134e-06], ["speedup_factor", -4.999941792782305], ["created_at", "2021-02-09 18:19:16.774185"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999959729611874e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.775064"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999959729611874e-06], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:16.775798"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:19:16.792502"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.794450"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:19:16.796003"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.8ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:19:16.819257"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.821900"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.822813"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:19:16.861123"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.862316"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.863284"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-09 18:19:16.881773"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.882729"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.883553"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.000010322779417e-06], ["speedup_factor", 3.2500181900202274], ["created_at", "2021-02-09 18:19:16.902088"], ["control_duration", 1.2999982573091984e-05], ["candidate_duration", 3.999972250312567e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.2999982573091984e-05], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.903111"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.999972250312567e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.903922"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:16.911498"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.912441"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.913300"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:19:16.921015"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.921991"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.922737"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:19:16.929755"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.930556"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.931303"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:19:16.938154"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.938986"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.939751"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.9999646358191967e-06], ["created_at", "2021-02-09 18:19:16.960308"], ["control_duration", 0.0], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.962121"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.963543"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:19:16.977418"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.978597"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.979537"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:16.988916"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.990131"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:16.991048"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:16.999586"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.000588"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.001427"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.0000734366476536e-06], ["speedup_factor", 2.0000582089117844], ["created_at", "2021-02-09 18:19:17.009819"], ["control_duration", 4.00003045797348e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 4.00003045797348e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.010789"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.011622"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["created_at", "2021-02-09 18:19:17.037146"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.038132"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.038922"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:19:17.048010"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.048996"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.049771"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:19:17.056833"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.057685"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.058416"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:19:17.065472"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.066381"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.067131"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.073927"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.074707"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.075407"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:19:17.090866"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.091856"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.092643"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:19:17.100443"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.101354"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.102121"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.109777"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.110957"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.111851"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.119137"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.119976"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.120681"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.127225"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.128014"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.128706"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.135161"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.135924"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.136701"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:17.143689"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.144507"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.145221"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.152109"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.152964"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.153700"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:19:17.160398"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.161184"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.161957"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:19:17.168289"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.169025"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.169660"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.175278"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.175923"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.176508"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.181870"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.182510"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.183103"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:17.194589"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.195326"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.195940"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.201541"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.202213"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.202822"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:17.208611"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.209283"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.209877"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:19:17.215492"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.216160"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.216760"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:19:17.222252"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.222907"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.223510"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:19:17.228935"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.229588"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.230182"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.235595"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.236250"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.236858"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:19:17.249498"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.250256"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.250883"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:19:17.256628"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.257294"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.257898"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.263415"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.264092"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.264682"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.270222"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.270893"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.271472"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.276879"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.277518"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.278090"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.283413"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.284053"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.284633"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.297806"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.298539"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:19:17.299167"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["speedup_factor", -9.999941792782305], ["created_at", "2021-02-09 18:19:17.323388"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.0000017937272787e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.324300"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0000017937272787e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:17.325040"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.338092"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.339161"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:19:17.339988"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.699995482340455e-05], ["created_at", "2021-02-09 18:19:17.348670"], ["control_duration", 0.0], ["candidate_duration", 1.699995482340455e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.349785"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.699995482340455e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:17.350647"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.358959"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.359953"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:19:17.360755"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.368061"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.369104"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:19:17.369933"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:19:17.378420"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.379574"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:19:17.380446"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:19:17.387428"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.388467"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:19:17.389720"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:19:17.397814"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.398887"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:19:17.399700"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.9999646358191967e-06], ["created_at", "2021-02-09 18:19:17.407562"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.408649"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:19:17.409481"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0000017937272787e-05], ["speedup_factor", -10.999941792782305], ["created_at", "2021-02-09 18:19:17.415235"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.1000025551766157e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.416330"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1000025551766157e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:17.417223"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["created_at", "2021-02-09 18:19:17.450400"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:19:17.451546"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- true\n"], ["created_at", "2021-02-09 18:19:17.452354"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:19:17.458203"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.459230"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.460305"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:19:17.463535"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.464544"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:19:17.465395"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.599994720891118e-05], ["speedup_factor", -16.999825378346916], ["created_at", "2021-02-09 18:19:17.469203"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.699995482340455e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.470187"]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.699995482340455e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:154:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:153:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:17.471084"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["speedup_factor", 2.999941792782305], ["created_at", "2021-02-09 18:19:17.481436"], ["control_duration", 2.9999646358191967e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.482917"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.483813"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:19:17.486535"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.487628"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:19:17.488748"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.3999990187585354e-05], ["speedup_factor", -14.99988358556461], ["created_at", "2021-02-09 18:19:17.492571"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.4999997802078724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.493546"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999997802078724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:154:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:153:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:19:17.494386"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:19:17.521160"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:19:17.522850"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:19:17.523861"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:19:17.534143"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:19:17.535340"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:19:17.536275"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:19:17.546720"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:19:17.548421"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:19:17.549515"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:19:17.559782"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:19:17.560983"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:19:17.561939"], ["diff", "this is a diff"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:19:17.573677"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.574865"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:19:17.575752"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.000002708286047e-06], ["speedup_factor", -8.999941792782305], ["created_at", "2021-02-09 18:22:29.183617"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.000010322779417e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.184896"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.000010322779417e-06], ["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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:29.185712"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "t"], ["raised_error", "f"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["equivalent", "f"], ["raised_error", "f"]] LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:22:29.206189"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.207129"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:22:29.207883"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results"  (0.0ms) SELECT COUNT(*) FROM "lab_tech_observations" LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2021-02-09 18:22:29.217692"], ["control_duration", 0.5], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.218655"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:22:29.219408"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.225841"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.233603"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:22:29.234511"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.241347"], ["control_duration", 0.5], ["candidate_duration", 0.5]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.242263"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:22:29.243044"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2021-02-09 18:22:29.250858"], ["control_duration", 0.0], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.251798"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:22:29.252610"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:22:29.259561"], ["control_duration", 0.5], ["candidate_duration", 1.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.260523"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2021-02-09 18:22:29.261311"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.7ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.000002708286047e-06], ["speedup_factor", -4.999970896391153], ["created_at", "2021-02-09 18:22:29.271606"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.0000017937272787e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.273380"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.0000017937272787e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:29.274858"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.3ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000658221542835e-06], ["speedup_factor", 2.0001164212119447], ["created_at", "2021-02-09 18:22:29.293167"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.295255"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- :WIBBLE\n"], ["created_at", "2021-02-09 18:22:29.296779"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.7ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.0999967344105244e-05], ["speedup_factor", -11.99988358556461], ["created_at", "2021-02-09 18:22:29.306001"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.1999974958598614e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.307589"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.1999974958598614e-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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in '\", \"/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 '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:29.309160"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.342755"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:22:29.343900"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2021-02-09 18:22:29.344745"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:22:29.350767"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:22:29.351859"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:22:29.352754"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.2ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-09 18:22:29.362054"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :control\n"], ["created_at", "2021-02-09 18:22:29.363042"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at", "diff") VALUES (?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- :candidate\n"], ["created_at", "2021-02-09 18:22:29.363868"], ["diff", "this is a diff"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:22:29.372693"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.373845"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.374723"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:22:29.381066"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.382061"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.382899"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:22:29.385535"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.386515"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:22:29.387321"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1000025551766157e-05], ["speedup_factor", -11.999941792782305], ["created_at", "2021-02-09 18:22:29.390875"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.2000033166259527e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.391847"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.2000033166259527e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:155:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:154:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:29.392650"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? LIMIT ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = 2 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.408328"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.409365"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.410345"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:22:29.413145"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.414035"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- :florp\n"], ["created_at", "2021-02-09 18:22:29.414827"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 2], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.4000048395246267e-05], ["speedup_factor", -15.00075673787764], ["created_at", "2021-02-09 18:22:29.419043"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.4999997802078724e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- :wibble\n"], ["created_at", "2021-02-09 18:22:29.420025"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.4999997802078724e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:155:in `block (7 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:154:in `block (5 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/experiment_spec.rb:7:in `block (3 levels) in '\", \"/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/experiment_spec.rb:6:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:29.420863"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) LIMIT ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"], ["LIMIT", 1]] LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 3], ["name", "control"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.431416"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- CONTROL\n"], ["created_at", "2021-02-09 18:22:29.432619"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2021-02-09 18:22:29.433548"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.2ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "wibble"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ? [["percent_enabled", 100], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.9999570213258266e-06], ["speedup_factor", -2.999941792782305], ["created_at", "2021-02-09 18:22:29.444893"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2021-02-09 18:22:29.445975"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2021-02-09 18:22:29.446874"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.2999982573091984e-05], ["speedup_factor", -5.333294528521536], ["created_at", "2021-02-09 18:22:29.456328"], ["control_duration", 3.00002284348011e-06], ["candidate_duration", 1.6000005416572094e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.457463"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.6000005416572094e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:84:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:84:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:29.458335"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Exists (0.1ms) SELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.483058"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.484523"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2021-02-09 18:22:29.485484"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:22:29.497375"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.498368"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.499230"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.3ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0030516], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00306088], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["speedup_factor", -1.999941792782305], ["created_at", "2021-02-09 18:22:29.509017"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.510066"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.510967"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000261548], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00220928], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:22:29.519756"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.520917"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.521852"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000781327], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00279742], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 3.00002284348011e-06], ["speedup_factor", 2.000019402782359], ["created_at", "2021-02-09 18:22:29.530105"], ["control_duration", 5.999987479299307e-06], ["candidate_duration", 2.9999646358191967e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 5.999987479299307e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.531126"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 2.9999646358191967e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.531960"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00201508], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002386], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999570213258266e-06], ["created_at", "2021-02-09 18:22:29.553055"], ["control_duration", 0.0], ["candidate_duration", 1.9999570213258266e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.554383"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.555220"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000593603], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275979], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.563521"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.564463"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.565289"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000259521], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0021131], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999570213258266e-06], ["created_at", "2021-02-09 18:22:29.572886"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.573778"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 7], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.574571"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000673067], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 7], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00250636], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:22:29.582127"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.582989"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 8], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.583811"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00229586], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 8], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00285059], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.591179"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.592016"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 9], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.592796"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.002911], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 9], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275513], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.599386"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.600156"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 10], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.600853"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00275274], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 10], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00251802], ["id", 20]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.607136"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.607878"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 11], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.608537"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000236285], ["id", 21]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 11], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00198174], ["id", 22]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.614693"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.615443"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.616147"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000225291], ["id", 23]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 12], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00257419], ["id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.622432"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.623183"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 13], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.623869"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000356831], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 13], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00244557], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:22:29.630126"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.630885"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 14], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.631555"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000287118], ["id", 27]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 14], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00248476], ["id", 28]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.637698"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.638350"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 15], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.638940"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.000556486], ["id", 29]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 15], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00261352], ["id", 30]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.644119"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.644715"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 16], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.645386"]] SQL (0.0ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00237066], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 16], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00265087], ["id", 32]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.650502"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.651123"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 17], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.651691"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00183386], ["id", 33]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 17], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00211302], ["id", 34]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.656858"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.657480"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 18], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.658047"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00296087], ["id", 35]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 18], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00294441], ["id", 36]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.663329"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.663942"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 19], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.664503"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00031988], ["id", 37]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 19], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.00323599], ["id", 38]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.678192"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.679008"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.679696"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:22:29.703687"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.704630"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.705399"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2021-02-09 18:22:29.722754"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.723735"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.724541"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["speedup_factor", -3.0], ["created_at", "2021-02-09 18:22:29.741757"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.2ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.743636"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.744770"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.7367], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.15918569372771518], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:22:29.753662"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.754932"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.755935"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0642], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.20661485999999998], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -1.5], ["created_at", "2021-02-09 18:22:29.764384"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 3.00002284348011e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.765325"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 3.00002284348011e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.766123"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0702], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.07656012], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:22:29.773827"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.774702"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.775565"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0552], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.04962689921783691], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:22:29.782781"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.783697"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.784461"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0539], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.045647018970189704], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.790745"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.791463"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 6], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.792146"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.0554], ["id", 11]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 6], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.06243026], ["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:22:29.807837"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.808699"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.809433"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2021-02-09 18:22:29.816069"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.816813"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.817493"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:22:29.824318"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.825125"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.825860"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 5.820766091346741e-11], ["speedup_factor", 1.0000582106059723], ["created_at", "2021-02-09 18:22:29.832192"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.832932"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.833605"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.839762"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.840522"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.841208"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.862044"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.862902"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.863628"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -5.820766091346741e-11], ["speedup_factor", -1.0000582106059723], ["created_at", "2021-02-09 18:22:29.870241"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.870977"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.871639"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.877893"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.878633"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.879297"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2021-02-09 18:22:29.885486"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.886221"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.886892"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.893450"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.894216"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.894910"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.908213"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.909072"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.909809"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 10.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000658221542835e-06], ["speedup_factor", -2.0001164212119447], ["created_at", "2021-02-09 18:22:29.916491"], ["control_duration", 9.999494068324566e-07], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "control"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.917316"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.918043"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 2], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 2.0], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.924370"], ["control_duration", 0.0], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.925098"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.925763"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 3], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999494068324566e-07], ["created_at", "2021-02-09 18:22:29.931917"], ["control_duration", 0.0], ["candidate_duration", 9.999494068324566e-07]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.932644"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 4], ["name", "candidate"], ["duration", 9.999494068324566e-07], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.933292"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 4], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.5], ["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2021-02-09 18:22:29.938910"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.939548"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.940134"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 9]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 5], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 10]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2021-02-09 18:22:29.953511"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.954362"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.955034"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.1ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ? [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 1.0], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ? [["duration", 0.1], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Result Load (0.0ms) SELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ? [["experiment_id", 1], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND "lab_tech_observations"."name" = ? LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Observation Load (0.0ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) ORDER BY "lab_tech_observations"."id" ASC LIMIT ? [["result_id", 1], ["name", "control"], ["LIMIT", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2021-02-09 18:22:29.969194"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.970038"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.970720"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999494068324566e-07], ["speedup_factor", 1.999941792782305], ["created_at", "2021-02-09 18:22:29.980389"], ["control_duration", 1.9999570213258266e-06], ["candidate_duration", 1.00000761449337e-06]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 1.9999570213258266e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.981291"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:29.982037"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]] LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.2ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?) [["name", "wibble"], ["percent_enabled", 100]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.0ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ? [["name", "wibble"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999974958598614e-05], ["speedup_factor", -6.999941792782305], ["created_at", "2021-02-09 18:22:30.003959"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.3999990187585354e-05]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?) [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2021-02-09 18:22:30.005181"]] SQL (0.1ms) INSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["result_id", 1], ["name", "candidate"], ["duration", 1.3999990187585354e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:99:in `block (4 levels) in '\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/scientist-1.4.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:130: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:99:in `block (3 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `reverse_each'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:484:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:502:in `run_before_example'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:261:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-rails-4.0.2/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in '\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/work/lab_tech/vendor/cache/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec:4:in `
'\"]"], ["created_at", "2021-02-09 18:22:30.006231"]] LabTech::Observation Load (0.1ms) SELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND ("lab_tech_observations"."name" != ?) [["result_id", 1], ["name", "control"]] SQL (0.1ms) UPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 LabTech::Experiment Load (0.1ms) SELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.0ms) SELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? [["experiment_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND "lab_tech_observations"."exception_class" = ? [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.1ms) SELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND ("lab_tech_observations"."name" != ?) WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND ("lab_tech_observations"."exception_class" != ?) [["name", "control"], ["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"], ["exception_class", "Timeout::Error"]]  (0.0ms) SELECT "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" = ? [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 0"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "Experiment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "lab_tech_experiments" ("name") VALUES (?) [["name", "whatever"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction